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 sNCLKiiHV1/TbAAA0tVLHw (envelope-from ) for ; Tue, 08 Sep 2020 13:29:12 +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 wK1cJiiHV1/ZWAAAbx9fmQ (envelope-from ) for ; Tue, 08 Sep 2020 13:29:12 +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 332239404CA for ; Tue, 8 Sep 2020 13:29:12 +0000 (UTC) Received: from localhost ([::1]:55530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFdgL-0001js-Ia for larch@yhetil.org; Tue, 08 Sep 2020 09:29:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50876) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFdfZ-0001hn-MB for emacs-orgmode@gnu.org; Tue, 08 Sep 2020 09:28:21 -0400 Received: from mail-ot1-x32e.google.com ([2607:f8b0:4864:20::32e]:33979) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFdfX-0007M0-TH; Tue, 08 Sep 2020 09:28:21 -0400 Received: by mail-ot1-x32e.google.com with SMTP id h17so14037561otr.1; Tue, 08 Sep 2020 06:28:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=JXJgosnXc4Ir6kNVC0nFBhT0VYexPqUhnP0pM5uhye8=; b=g2NmoGdSNYEm2SCGSqsO5y4V4LdgLNKbhNEDrGhbD3mWbcSPXAC4j9Es48lYOZa87l JYGNf7diBJfWt8r+ytB9RowN1L9k6etCWHemTTt/1cxrDtKkaV2rPjq5Xeop7//ZJnBp WqXZOUmV709N+Ssjdf9WIcr7Hv/2ehCL++yrRLPsYiwbra3Qy+ahEJJhKPHy0gWIkEAd nQZ4UfveOzV+XiQmIJjimyGMcagm+U0KW6n/Oy44iWyz5lVjzjsFEaQez5CbWmm2C6rp 246pndAcZNV46VnfMZ/f1w8jzI0iO8d+3pLd3F58FHwkqzbCIjoZ4pk9OTVNRXZEAGvi JudA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=JXJgosnXc4Ir6kNVC0nFBhT0VYexPqUhnP0pM5uhye8=; b=Le9XCR2d+4ZzuTYlur1U1MvZcQOZByN9KFhJA7iWLzV/yk1w+nHOZXDvSkkIxnrJVQ kxS5kRadwYaH/7k3sMPglVV+Oy7PBrNU2QRQfhTkrVh3I6F4pZ4P7Jz8dvX/X779JEQg 1QJoZq4pQRRnqPrAxvQdmzsmHv5mzF49lLdo4L8Tu8DPD98lFUpX6rquamcLxVt/rXj0 TJE+R/2I8OJZE89R1nSZAV1b8+ylTbWv97UgRJW6hqOriqy1KrEKqoGxcqBo0bsuCO5n R/6H09/DeGzCSlFYPK1UMdM6Cg+rcxJo4zPt5hYgAmysQniTucOOQ4fJZmEerzIUMkWw AgmA== X-Gm-Message-State: AOAM532TCYge45c6hBsLSFZVCze+kNiI1oS1kykXa+N+jwLSQAscnCiZ Tg7EST/YOpibNEjnYcU5JYiBg5iyUyTvLq4MEoR0X8O6Cy5VZA== X-Google-Smtp-Source: ABdhPJwTffIUTwhPpxxNvMwfGXdm6CBayiGC9M74aAcTnzFJYmGbTjItpxNsg1ns9s7SsR4UcdnSeqWAJeskOjKCVQ0= X-Received: by 2002:a9d:d08:: with SMTP id 8mr9372507oti.323.1599571697513; Tue, 08 Sep 2020 06:28:17 -0700 (PDT) MIME-Version: 1.0 References: <87lfho39r0.fsf@gnu.org> <87v9gse5ve.fsf@bzg.fr> In-Reply-To: <87v9gse5ve.fsf@bzg.fr> From: Adam Faryna Date: Tue, 8 Sep 2020 14:28:06 +0100 Message-ID: Subject: Re: [feature request] org-at-timestamp-p should accept multiple parameters To: Bastien , emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000d2b80a05aecd4e25" Received-SPF: pass client-ip=2607:f8b0:4864:20::32e; envelope-from=adamfaryna@gmail.com; helo=mail-ot1-x32e.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=g2NmoGdS; 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: TqOK4DdifX90 --000000000000d2b80a05aecd4e25 Content-Type: text/plain; charset="UTF-8" I think the problem is general. If you work with any timestamp that is agenda like, you can't check using this function if it's active or inactive. The one solution would be to remove parameter "agenda" and consider every timestamp as a agenda like (the "timestamp" in " org-at-timestamp-p" suggest that there is time information in it anyway) by default, or keep it as it is but extend parameter list with support of named parameters where agenda-like can be activated with :agenda t, inactive timestamp with :inactive t, with default values nil. Thanks, Adam On Sat, 5 Sep 2020 at 13:59, Bastien wrote: > Hi Adam, > > you forgot to copy the emacs-orgmode list - can you repost your email > there? > > Thanks, > > -- > Bastien > --000000000000d2b80a05aecd4e25 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I think the problem is general. If you work with any = timestamp that is agenda like, you can't check using this function if it's active= or=20 inactive. The one solution would be to remove parameter "agenda" = and=20 consider every timestamp as a agenda like (the "timestamp" in &qu= ot;org-at-timestamp-p" suggest that there is time information in it anyway) by default, or=20 keep it as it is but extend parameter list with support of named=20 parameters where agenda-like can be activated with :agenda t, inactive=20 timestamp with :inactive t, with default values nil.

Thanks,
Adam

On Sat, 5 Sep 2020 at 13:59, Bastien <bzg@gnu.org> wrote:
Hi Adam,

you forgot to copy the emacs-orgmode list - can you repost your email
there?

Thanks,

--
=C2=A0Bastien
--000000000000d2b80a05aecd4e25--