From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0MvqGaCbJl+zYQAA0tVLHw (envelope-from ) for ; Sun, 02 Aug 2020 10:55:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yPPEFaCbJl8sMwAAbx9fmQ (envelope-from ) for ; Sun, 02 Aug 2020 10:55:28 +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 DB33794051E for ; Sun, 2 Aug 2020 10:55:27 +0000 (UTC) Received: from localhost ([::1]:33048 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2BeI-0002z5-84 for larch@yhetil.org; Sun, 02 Aug 2020 06:55:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49350) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2BdM-0002yw-2G for emacs-orgmode@gnu.org; Sun, 02 Aug 2020 06:54:28 -0400 Received: from mail-ot1-x332.google.com ([2607:f8b0:4864:20::332]:41261) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k2BdG-0006rN-MC for emacs-orgmode@gnu.org; Sun, 02 Aug 2020 06:54:27 -0400 Received: by mail-ot1-x332.google.com with SMTP id a65so16724957otc.8 for ; Sun, 02 Aug 2020 03:54:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=tewZVkWbIxuIAN7VZfe5vl21bRxT0UFTv8Omon/4dtE=; b=qfEUjx7PTDU2cbG2pqYhiP6xOBIBmTaPRfPdANEZONstT9sqbX3DS5ASebhd18U8R4 /80mYVrZDue5IaGEBxOQTK5v6petyFRzoHBkpoH2af6fDqRzuW3fyp0nrKQS2mfyNxWN WEAH+jlsBlFALh5h0oxad3dXUXretDXhdcspRmR0D3rF7oVjYMTCUg0ewZA8N6gFLZuh aIuVG0Bu6BgkeCR36+s/GjL5vH9VfeGSPY7ROreKt+SS4qg7lNOxhKsNtC4mg1KEsYvP kj835um50/tquDZ2XSkzfH3skw3r4ZFueKYC4yBDJLbacmyU/eYcw3XjXYrxecUsgBT0 eNOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=tewZVkWbIxuIAN7VZfe5vl21bRxT0UFTv8Omon/4dtE=; b=br7Dk56YMhMYsXJ2zd+I5GBZ5LnTvEnyWz5lHSJr3T8WVNz+koNM/rEoOMvEYtcB3F ZZmpmByrRJQNbk0HL+EwapsS+vd8E6cePmzx37L6pSXMsiw2GP1qor/ZRnGm2dwiadO3 Pl1dXaWFXXqTHwa9nz6HGYpWWGdDkigaw/HruAPBSqL5L1GISmYFgDUNeTSZFPJN6kG0 qW/b565FehyXaQJQ6h6jDrkDDEi1fXbNFBPIZdwyE2dPlYwL+FbP1KVMw2TB0DG2zZmx TehASe8G1YRWCNKZHTOwVfRYfT0SRLSB7EPQucWk31T9KF9EvnIN0IydL1aL7PW0H8ru oCtQ== X-Gm-Message-State: AOAM532r0erCevHKlyV7t6mGW9KhEYj81L0Oyh3mSF2DvuatnUkeHc5G c2pEmvYAERHifHWQLLe2ro9qBmji0yQHhG5Ui2/bSJJTJZY= X-Google-Smtp-Source: ABdhPJw/sMAESBc/GLbQ2UfBcbK1+hYX1rPWQRzX47M8FtdwGlCZsx4sS+NnrPMjPmZcTIWQkha2O7zTyo5C14J9hHU= X-Received: by 2002:a05:6830:2089:: with SMTP id y9mr2269542otq.45.1596365660508; Sun, 02 Aug 2020 03:54:20 -0700 (PDT) MIME-Version: 1.0 From: Adam Faryna Date: Sun, 2 Aug 2020 11:54:09 +0100 Message-ID: Subject: [feature request] org-at-timestamp-p should accept multiple parameters To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="0000000000002056fd05abe2d83c" Received-SPF: pass client-ip=2607:f8b0:4864:20::332; envelope-from=adamfaryna@gmail.com; helo=mail-ot1-x332.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, HTML_MESSAGE=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.23 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=qfEUjx7P; dmarc=pass (policy=none) header.from=gmail.com; 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.71 X-TUID: HKtWctLJxBVA --0000000000002056fd05abe2d83c Content-Type: text/plain; charset="UTF-8" Hi, recently I was doing some customization and I needed to check if timestamp at a point is active or inactive. That timestamp also contains an agenda like information about reoccurring. So I tried to use org-at-timestamp-p function for this purpose. 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 amend the implementation of org-at-timestamp-p to make it accept a list of parameters or named parameters instead of just one parameter? Thanks, Adam --0000000000002056fd05abe2d83c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

recently I was doing some customization and I n= eeded to check if timestamp at a point is active or inactive. That timestam= p also contains an agenda like information about reoccurring.

So I t= ried to use org-at-timestamp-p function for this purpose.

The proble= m is I needed to check if the timestamp is agenda like and inactive or igno= re the context at the same time. But org-at-timestamp-p takes only one para= meter, and I needed to give it multiple parameters, which is not possible i= n the current version.

Can you amend the implementation of org-at-ti= mestamp-p to make it accept a list of parameters or named parameters instea= d of just one parameter?

Thanks,
Adam
--0000000000002056fd05abe2d83c--