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 GAKxDBmqV18rQQAA0tVLHw (envelope-from ) for ; Tue, 08 Sep 2020 15:58:17 +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 2LB9CBmqV18sMQAAB5/wlQ (envelope-from ) for ; Tue, 08 Sep 2020 15:58:17 +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 B37989402CB for ; Tue, 8 Sep 2020 15:58:16 +0000 (UTC) Received: from localhost ([::1]:36286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFg0c-0007O4-Gs for larch@yhetil.org; Tue, 08 Sep 2020 11:58:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFfzp-0007KU-53 for emacs-orgmode@gnu.org; Tue, 08 Sep 2020 11:57:25 -0400 Received: from mail-oi1-x22d.google.com ([2607:f8b0:4864:20::22d]:36269) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFfzn-0004Aa-DL; Tue, 08 Sep 2020 11:57:24 -0400 Received: by mail-oi1-x22d.google.com with SMTP id x19so16936889oix.3; Tue, 08 Sep 2020 08:57:22 -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 :cc; bh=sq1OJqpuZolfDzVQBpYJuRvTRh9LfIYGpJ/NbOqYSko=; b=k+RHxfI9HyIUNMWbYUfM7p4c2/LS/qeTuRw6fwBbQv0612AgWp+hmPOt+9L+9ts2AS 9jF9R242D99x28r5z+3Xa74AIqv/J+ZOah2HbaTW/LGrlyEm97AwP0ualytNtmb/khmz vCDvLm/KcuPj3ykW8SEYEMCY8UHImpAUCVmp0vR8p1LDzJVFImCCP+bAlVrnEOipbAQ+ wqRd/ozKKBC7uESh1t+jW5Drh0cvrFxh0cko8Pg2o8D9OyAdsSZn4gBhTEb7kHTgZFdy OTlRWT/TdLDsvIt5aeTus0Pd4rmkPGNZHST23ofL8Kstv1UwrjSz7/UzJkHA92TSi9QT X6EA== 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:cc; bh=sq1OJqpuZolfDzVQBpYJuRvTRh9LfIYGpJ/NbOqYSko=; b=TgUVePGhduzYoDPtcihJOmTlaATeCvCGMoNFaOFXmunQ27TzbgKPZeQGAstT1FzqqS KT7VyLKtJBhaZQPiyp03QQuMw0utOwnRP6Dv/s2Zx7wbw3Io6C4+xbmXWPTT+Iq+mK41 prffUFDRyeaHHSeTwLb98/kxnT9q9oqga8Asnc6ObXX1jhO4Y5yfL4Am4ttVg8Jt6gxG rw1Dk6HYiPq4UHrEHZUVnX77Pkz856Ej6VqqG8fojs/Nu5ZiriZcjf60ITM7hdtuhj+m 1L/AaPpCkCQLs2PnEehNtq2hgBXCfEltIcRGjp6qe858iXVmIKrRn1NTq9x54vQhcxu0 PFbw== X-Gm-Message-State: AOAM531w5MxSYkylq84NeX52esonNocrGjr+Adt/QEHLVgUaoalD84zL WZKPsX4qeerwCuZMUkm8svaPGbVKaGKpiu+N+8x7xm6y1rZmuQ== X-Google-Smtp-Source: ABdhPJwTw1PWBz6Qm86OdKkLxJZzwqfA3OVOBtvq7JzO6yXZ5/diKqxOWwBoQtNGG5Flsycm7DuUOcaZK+wehQjoBJ4= X-Received: by 2002:aca:57c5:: with SMTP id l188mr2988995oib.161.1599580641530; Tue, 08 Sep 2020 08:57:21 -0700 (PDT) MIME-Version: 1.0 References: <87lfho39r0.fsf@gnu.org> <87v9gse5ve.fsf@bzg.fr> <87h7s8xs2m.fsf@gnu.org> In-Reply-To: <87h7s8xs2m.fsf@gnu.org> From: Adam Faryna Date: Tue, 8 Sep 2020 16:57:10 +0100 Message-ID: Subject: Re: [feature request] org-at-timestamp-p should accept multiple parameters To: Bastien Content-Type: multipart/alternative; boundary="000000000000ed98ae05aecf638a" Received-SPF: pass client-ip=2607:f8b0:4864:20::22d; envelope-from=adamfaryna@gmail.com; helo=mail-oi1-x22d.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: , 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=pass header.d=gmail.com header.s=20161025 header.b=k+RHxfI9; 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: 9egOqUkSv4vh --000000000000ed98ae05aecf638a Content-Type: text/plain; charset="UTF-8" Ok, maybe I misunderstood the purpose of this function. I wanted to use it to check if the timestamp is active or inactive and I tried to get it by using (org-at-timestamp-p 'inactive) while pointing at the timestamp. But actually when I call it on any timestamp like [2020-09-04 Fri], <2020-09-04 Fri> I always get nil. So either it's a bug, or I miss something. Thanks, Adam On Tue, 8 Sep 2020 at 15:26, Bastien wrote: > Hi Adam, > > thanks, but I still need to understand the exact change you suggest > and what general fix/improvement it will provide. Probably a patch > will be easier to understand for this. > > Thanks, > > -- > Bastien > --000000000000ed98ae05aecf638a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Ok, maybe I misunderstood the purpose of this functio= n. I wanted to use it to check if the timestamp is active or inactive and I= tried to get it by using (org-at-timestamp-p 'inactive) while pointing= at the timestamp. But actually when I call it on any timestamp like [2020-= 09-04 Fri], <2020-09-04 Fri> I always get nil. So either it's a b= ug, or I miss something.

Thanks,

Adam

On Tue, 8 Sep 2020 at 15:26, Bastien <bzg@gnu.org> wrote:
Hi Adam,

thanks, but I still need to understand the exact change you suggest
and what general fix/improvement it will provide.=C2=A0 Probably a patch will be easier to understand for this.

Thanks,

--
=C2=A0Bastien
--000000000000ed98ae05aecf638a--