From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mJiWFQRNU1/WEQAA0tVLHw (envelope-from ) for ; Sat, 05 Sep 2020 08:32:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id YJpOEQRNU1+gTwAAB5/wlQ (envelope-from ) for ; Sat, 05 Sep 2020 08:32:04 +0000 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 E97A69404CE for ; Sat, 5 Sep 2020 08:32:03 +0000 (UTC) Received: from localhost ([::1]:44510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kETcA-0002CG-Oj for larch@yhetil.org; Sat, 05 Sep 2020 04:32:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kETbi-0002Ap-FZ for emacs-orgmode@gnu.org; Sat, 05 Sep 2020 04:31:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60465) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kETbi-0008NE-5M; Sat, 05 Sep 2020 04:31:34 -0400 Received: from [2a01:e35:2fe1:f780:68c6:8f4c:dae1:2381] (port=38960 helo=guerry) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1kETbh-0007Wu-FZ; Sat, 05 Sep 2020 04:31:33 -0400 Received: by guerry (Postfix, from userid 1000) id D92601A60D46; Sat, 5 Sep 2020 10:31:31 +0200 (CEST) From: Bastien To: Adam Faryna Subject: Re: [feature request] org-at-timestamp-p should accept multiple parameters Organization: GNU References: Date: Sat, 05 Sep 2020 10:31:31 +0200 In-Reply-To: (Adam Faryna's message of "Sun, 2 Aug 2020 11:54:09 +0100") Message-ID: <87lfho39r0.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: vnyL0OA3gIH4 Hi Adam, Adam Faryna writes: > The problem is I needed to check if the timestamp is agenda like and > inactive or ignore the context at the same time. But > org-at-timestamp-p takes only one parameter, and I needed to give it > multiple parameters, which is not possible in the current version. Can you show the first of org-at-timestamp-p you would need for your purpose? Does it solve a general problem? > Can you amend the implementation of org-at-timestamp-p to make it > accept a list of parameters or named parameters instead of just one > parameter? We cannot amend the implementation of org-at-timestamp-p just for flexibility's sake, because there would be no good reason not to change other functions as well. If you have a generic change to propose to org-at-timestamp-p please go ahead. Thanks, -- Bastien