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 kDfYAIssGV8zZAAA0tVLHw (envelope-from ) for ; Thu, 23 Jul 2020 06:22:03 +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 EIRWOIosGV97eQAAB5/wlQ (envelope-from ) for ; Thu, 23 Jul 2020 06:22:02 +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 868FC9404CA for ; Thu, 23 Jul 2020 06:22:02 +0000 (UTC) Received: from localhost ([::1]:50252 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyUcD-0003VF-IA for larch@yhetil.org; Thu, 23 Jul 2020 02:22:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyUbh-0003V3-I6 for emacs-orgmode@gnu.org; Thu, 23 Jul 2020 02:21:29 -0400 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]:52506) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyUbe-0006a7-6w for emacs-orgmode@gnu.org; Thu, 23 Jul 2020 02:21:29 -0400 Received: by mail-pj1-x1031.google.com with SMTP id gc9so2676113pjb.2 for ; Wed, 22 Jul 2020 23:21:25 -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=TsipbIvBt9Pl0f8vc5tyNx0RSr0cW+XGgq0hUusYJb4=; b=t4JhXkywtAZR/6/XDPYRkbM0WdydmWQt0J7NHMWYxBJzyIIrETLKJV3rw9JCeUjEtO ecB/uHi77qaH3jWr3ELmGGd5nqTyz6aMltdY53gY3J7I0xztwTdnXpFCQPM4GJQnUgef 2vX8WoO1CLwBuFORlM7YnYl1+fn08EdvF9iQRK1vIXL5fTEEaFoX6XshX4LW/Q4+F1C3 qebys1PnYQfrpXaQE2cg1b3XpKpB6qFLy+YF03feyTf9MWmqUryr+9kVdBI9w0XmgA3k UJv1nfcRZTPnS+NYPcIHhT0yvDp4v9oR3/rz15PTk3oIj5dZ9Kv77CQP5Qb2HFQBXmrM 5+sg== 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=TsipbIvBt9Pl0f8vc5tyNx0RSr0cW+XGgq0hUusYJb4=; b=Kg8kmR9z+Ot1GlMJ1YrAXqlDQPCiC6iYVMlSDr8BEGUnPL8TH33FncRwqw85XhUzk1 Hm/dIUHW2M6i4WfmAQ5JE3SxatYGvxn20/PTrsV3tk1Mu96PC11LgQFCzYFMc/RVFwz1 /i3TB/Y5AyNoMiwxy/t5OWbW1/Xzqvhs5hre+6/xifx8FptRaxWULFM42xImRkHpWxab nyv338UHhlyUcsvlGNffjZ//CB4cI4AtWeoPMEJ7JBmes7gMqJQHh/BwpqKxkekCuYkd 1DRSW6coc7ZMgKIdjOujInQ5ikn60h7LCrp/duFsBP5OcEz6BnSetG6umRtUc+vo2siM 411g== X-Gm-Message-State: AOAM530f4jgMAErjlugyMWSIefDAyJv/YehiJlZVE8xmwpqAcnEL3hOa xEjru+PYXVMO/Td/q7/4/cyBnQ0ICbDH15+IpDzkfSAt X-Google-Smtp-Source: ABdhPJx0yHWBlZ7NxV3iT0cbP45mfBMcDZ2gYPJJPFtV6snUXU8Qptcs5d2NqiiXwBmhEAQJzaCR7I0W++Ri6mbqZDk= X-Received: by 2002:a17:90a:c295:: with SMTP id f21mr2845191pjt.208.1595485283842; Wed, 22 Jul 2020 23:21:23 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:6a10:8441:0:0:0:0 with HTTP; Wed, 22 Jul 2020 23:21:23 -0700 (PDT) From: Samuel Wales Date: Wed, 22 Jul 2020 23:21:23 -0700 Message-ID: Subject: deadline warning days entry To: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::1031; envelope-from=samologist@gmail.com; helo=mail-pj1-x1031.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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=t4JhXkyw; 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: I+owG6cLQcxv i tend to want either zero or some number [like 4 or 8] for deadline warning days for deadline timestamps [tses]. so i set the deadline warning days variable to a nonzero positive number as a default. and then manually add -0d to individual tses when i want -0d. however, manual editing feels quite error prone and it is typing/concentration-intensive. the failure mode could include not being warned or even not showing the deadline at all. the existing command has a prefix option, but it does not solve the problem. c-u c-u will ask you for a warning date, but for less chance of error, i want an interval or number of dasys instead. this would also be slightly more consistent with the variable, which takes an integer. a warning date requires you to think about date arithmetic. another problem with c-u -cu is that it requires you to enter the ts, then do c-u c-u. i.e. you can't enter a deadline with c-u c-u. if those two problems were fixed, i would have no issue. i'd like to know if anybody has any code for changing the deadline warning days of a deadline ts to an interval or ndays. [the minus sign would not be needed.] this would be for new tses and existing tses. in my case it would default to my alternate interval [0d]. this could be thought of as a feature request, but i don't know if it is of enough interest, and i figured perhaps somebody already has some code for this or likes the idea above also. thank you. -- The Kafka Pandemic What is misopathy? https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html