From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YHR8O6XxjGPdmgAAbAwnHQ (envelope-from ) for ; Sun, 04 Dec 2022 20:14:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MKdgO6XxjGNE9gAA9RJhRA (envelope-from ) for ; Sun, 04 Dec 2022 20:14:45 +0100 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 6EC1F8877 for ; Sun, 4 Dec 2022 20:14:45 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1uMH-0003Ch-Cl; Sun, 04 Dec 2022 14:09:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1uMF-000397-Eu for emacs-orgmode@gnu.org; Sun, 04 Dec 2022 14:08:59 -0500 Received: from mail-yb1-xb35.google.com ([2607:f8b0:4864:20::b35]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p1uM3-0001mq-3J for emacs-orgmode@gnu.org; Sun, 04 Dec 2022 14:08:59 -0500 Received: by mail-yb1-xb35.google.com with SMTP id e141so12063223ybh.3 for ; Sun, 04 Dec 2022 11:08:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=RKD/prb1re2qXe9kI93Ulk50hrM3qNkeNIQgUTCQvc0=; b=g6V1fAlPxrz4oXZxciRdqRC92Ulnqdv6GfMlupKVlf9vt0A1PSZreUetTCRI6XQn5d /za0aK6dyQL9vlWMpNuTr6U+LT1ha/qGpgPOqtBeDgJStaAAAqq6vKw5ryTX13uWJwWY TPyxA7tzZWF3/iNys/fFwFadw6ekmFTicVx2MhCQnrjKsWQEvTzKsaVlTWxrgAAQMrDv 3ErJSa0tp2igXzqYPjL+wwQNcLSqhZaLxyod0tRQ/pMDkgGveckyFcnFdEviSqHmmJwf dh8JPflzZOIoPqvxDeeFxogHHLGSU82oNV+Z5Z3k2NDdO0uuhJ9aF45V8T5XJCRdQejk k2Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=RKD/prb1re2qXe9kI93Ulk50hrM3qNkeNIQgUTCQvc0=; b=MKR0hbxrv5fC+g+B4FRAWY9g+Pz1ID3Ll0N7u11QFr2uw+eO4uMGb5FB9rdSV9p0YG kGHJQtlkPeCoepWYq3lQPHpptI5zajdu7Ru4o3tiImyISSm0xIj/sDgcwLC7aN5soSDY kwAEwX2EL01t/SSaa71t5wETbJWNFCDulCk5SvkV2snshJnCtudmGb4wgCbQpd2JNVSv fRG627Av9Lw7VYkPP+BScxPNW8Pn2ium+5KKGqHzAkNiUW2LFHGgnfaHFCipQve8UG7A B0hZjRGqIoC5M0YFxCCKj02kw+vObStDxTVmatqeaLVQ6bWapsAanC+u91HthrZsoc5d ZOGw== X-Gm-Message-State: ANoB5plTlDi8Cu9U40AOfdD29RIwng2O+BSMuYVwGNWovsK/Ns5ncO+3 3eXvivs0GOfJDRl/jUUZ0SvUd3/BlNtcbVf0wBCih1xN X-Google-Smtp-Source: AA0mqf4oVaSycA9ISqs8Qo4gGyJlfNx7T0NPtUIkhvm6c33sdl3Mq1Bqul4ZbS96nFQPC3vv9WXU2cWPgVeU438oKkI= X-Received: by 2002:a5b:607:0:b0:6ff:737b:db3a with SMTP id d7-20020a5b0607000000b006ff737bdb3amr4685983ybq.301.1670180911838; Sun, 04 Dec 2022 11:08:31 -0800 (PST) MIME-Version: 1.0 From: Tom Gillespie Date: Sun, 4 Dec 2022 11:08:20 -0800 Message-ID: Subject: [PATCH] lisp/org-expiry.el: Account for org-time-stamp-formats To: emacs-orgmode Content-Type: multipart/mixed; boundary="000000000000f6414a05ef054b7b" Received-SPF: pass client-ip=2607:f8b0:4864:20::b35; envelope-from=tgbugs@gmail.com; helo=mail-yb1-xb35.google.com 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, 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.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-bounces+larch=yhetil.org@gnu.org 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=1670181285; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=RKD/prb1re2qXe9kI93Ulk50hrM3qNkeNIQgUTCQvc0=; b=RGpIlUQwYjj2+PUJ05qaPdpt/8lOC1FXWrTX76y6nU1HRm5GJqR3WVTp0sBx7hlf9hh/I6 QjcSev3Qf+0NPPQa0Sw1IkOZuUOJ+o+PA+5fIu9a+Ucs36JPKTjDwOOGO3kuR8CnLhAS90 Ppij5MnpuWEzlqiORYnmAowd4508CSJzRbsvlGh2EP58cphU7NdFM9EbWR6iXUCqF25kPo 2JEipMDV5WuZGmps0ZoUFeUN2w6RGXj5vgv6q+qxObnp9gRqYzqiYJb7uHjITtubmSPGv4 31CvzEtUZiGadxwyRA5vCQlG98W6j2W/LKHJu1SWyxM7/ghq3+Yqd91yXgbc0g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670181285; a=rsa-sha256; cv=none; b=mlS95IoTHqwE1PCAmkoLHARIS+eP70fTq1xUZKvXVvnHN4Q6r/PJnK2GmdkzvIevn5Axne ZTtoKBOPDoEtgKj6fyNCYmrmUQvfKHbo+DEtd6yL3D/5gxBkNuKRb/XtJZiW39Ar3DtpgR nnw/M3b1mLLI3SwcuT9drJVOi6WQCtWBKYlfM4oGrvvnxDEj0s5BkxxGlfWQLLoBtjhdkO SMaZrtyU/pVJvNvzEhG09IsDeuElRx1atVwglKWJfGA59PB0rzdAPUtE8bphLEH0BGVZJZ /FQOvAXjkhiKeTWaVM4ze31UpKmCSlTmq6e139hO4Pw6HxPlrJ8bShCoNiyEEA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=g6V1fAlP; dmarc=pass (policy=none) header.from=gmail.com; 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: -2.86 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=g6V1fAlP; dmarc=pass (policy=none) header.from=gmail.com; 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: 6EC1F8877 X-Spam-Score: -2.86 X-Migadu-Scanner: scn1.migadu.com X-TUID: wTxujnfoJnRo --000000000000f6414a05ef054b7b Content-Type: text/plain; charset="UTF-8" Hi, Here is a patch for org-contrib/lisp/org-expiry.el to account for recent changes to org-time-stamp-formats. Best, Tom PS is this list still the best place to send org-contrib patches? --000000000000f6414a05ef054b7b Content-Type: text/x-patch; charset="US-ASCII"; name="0001-lisp-org-expiry.el-Account-for-org-time-stamp-format.patch" Content-Disposition: attachment; filename="0001-lisp-org-expiry.el-Account-for-org-time-stamp-format.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lb9qj4sa0 RnJvbSAyNDA4ZTkyYTljNWUxNTViNTVhMzc0NDYyZDEzMTRhYWJiZTUwZmUwIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBUb20gR2lsbGVzcGllIDx0Z2J1Z3NAZ21haWwuY29tPgpEYXRl OiBTdW4sIDQgRGVjIDIwMjIgMDE6MDI6MzUgLTA4MDAKU3ViamVjdDogW1BBVENIXSBsaXNwL29y Zy1leHBpcnkuZWw6IEFjY291bnQgZm9yIG9yZy10aW1lLXN0YW1wLWZvcm1hdHMKIHJlZmFjdG9y CgoqIGxpc3Avb3JnLWV4cGlyeS5lbCAob3JnLWV4cGlyeS1pbnNlcnQtY3JlYXRlZCkKKG9yZy1l eHBpcnktaW5zZXJ0LWV4cGlyeSk6IHRpbWVzdGFtcCBmb3JtYXRzIGRyb3BwZWQgZGVsaW1pdGVy cyBzbyBhCnNsaWdodCBtb2RpZmljYXRpb24gaXMgcmVxdWlyZWQgZm9sbG93aW5nIG9yZyBjb21t aXQKZTNhN2MwMTg3NGM5YmI4MGUwNGZmYTU4YzU3ODYxOWZhZjA5ZTdmMCwgYWxzbyBidW1wIHZl cnNpb24gdG8gMC4zIGFuZAphZGQgYSBk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dGltZSkpCiAgICAgICAoc2V0cSB0aW1lc3RyCiAJICAg IDs7IHR3byBDLXUgcHJlZml4ZXMgd2lsbCBjYWxsIG9yZy1yZWFkLWRhdGUKLQkgICAgKGlmIChl cXVhbCBhcmcgJygxNikpCi0JCShjb25jYXQgIjwiIChvcmctcmVhZC1kYXRlCi0JCQkgICAgIG5p bCBuaWwgbmlsIG5pbCBkLXRpbWUgZC1ob3VyKSAiPiIpCi0JICAgICAgKGZvcm1hdC10aW1lLXN0 cmluZyAoY2RyIG9yZy10aW1lLXN0YW1wLWZvcm1hdHMpKSkpCisgICAgICAgICAgICAoY29uY2F0 ICI8IgorICAgICAgICAgICAgICAgICAgICAoaWYgKGVxdWFsIGFyZyAnKDE2KSkKKyAgICAgICAg ICAgICAgICAgICAgICAgIChvcmctcmVhZC1kYXRlIG5pbCBuaWwgbmlsIG5pbCBkLXRpbWUgZC1o b3VyKQorICAgICAgICAgICAgICAgICAgICAgIChmb3JtYXQtdGltZS1zdHJpbmcgKGNkciBvcmct dGltZS1zdGFtcC1mb3JtYXRzKSkpCisgICAgICAgICAgICAgICAgICAgICI+IikpCiAgICAgICA7 OyBtYXliZSB0cmFuc2Zvcm0gdG8gaW5hY3RpdmUgdGltZXN0YW1wCiAgICAgICAoaWYgb3JnLWV4 cGlyeS1pbmFjdGl2ZS10aW1lc3RhbXBzCiAJICAoc2V0cSB0aW1lc3RyIChjb25jYXQgIlsiIChz dWJzdHJpbmcgdGltZXN0ciAxIC0xKSAiXSIpKSkKQEAgLTMyMCwxMCArMzIyLDExIEBAIGFuZCBp bnNlcnQgdG9kYXkncyBkYXRlLiIKICAgICAoc2V0cSBkLXRpbWUgKGlmIGQgKG9yZy10aW1lLXN0 cmluZy10by10aW1lIGQpCiAJCSAgIChjdXJyZW50LXRpbWUpKSkKICAgICAoc2V0cSBkLWhvdXIg KGZvcm1hdC10aW1lLXN0cmluZyAiJUg6JU0iIGQtdGltZSkpCi0gICAgKHNldHEgdGltZXN0ciAo aWYgdG9kYXkKLQkJICAgICAgKGZvcm1hdC10aW1lLXN0cmluZyAoY2RyIG9yZy10aW1lLXN0YW1w LWZvcm1hdHMpKQotCQkgICAgKGNvbmNhdCAiPCIgKG9yZy1yZWFkLWRhdGUKLQkJCQkgbmlsIG5p bCBuaWwgbmlsIGQtdGltZSBkLWhvdXIpICI+IikpKQorICAgIChzZXRxIHRpbWVzdHIgKGNvbmNh dCAiPCIKKyAgICAgICAgICAgICAgICAgICAgICAgICAgKGlmIHRvZGF5CisgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAoZm9ybWF0LXRpbWUtc3RyaW5nIChjZHIgb3JnLXRpbWUtc3RhbXAt Zm9ybWF0cykpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgKG9yZy1yZWFkLWRhdGUgbmls IG5pbCBuaWwgbmlsIGQtdGltZSBkLWhvdXIpKQorICAgICAgICAgICAgICAgICAgICAgICAgICAi PiIpKQogICAgIDs7IG1heWJlIHRyYW5zZm9ybSB0byBpbmFjdGl2ZSB0aW1lc3RhbXAKICAgICAo aWYgb3JnLWV4cGlyeS1pbmFjdGl2ZS10aW1lc3RhbXBzCiAJKHNldHEgdGltZXN0ciAoY29uY2F0 ICJbIiAoc3Vic3RyaW5nIHRpbWVzdHIgMSAtMSkgIl0iKSkpCi0tIAoyLjM3LjQKCg== --000000000000f6414a05ef054b7b--