From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QAMWC0tdGl/8FgAA0tVLHw (envelope-from ) for ; Fri, 24 Jul 2020 04:02:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id aFPoBktdGl+jcAAA1q6Kng (envelope-from ) for ; Fri, 24 Jul 2020 04:02:19 +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 1F7E8940A67 for ; Fri, 24 Jul 2020 04:02:18 +0000 (UTC) Received: from localhost ([::1]:59076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyouW-0003tb-0M for larch@yhetil.org; Fri, 24 Jul 2020 00:02:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyotJ-0003sk-SC for emacs-orgmode@gnu.org; Fri, 24 Jul 2020 00:01:01 -0400 Received: from mail-pg1-x535.google.com ([2607:f8b0:4864:20::535]:44265) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyotI-00062Y-2s for emacs-orgmode@gnu.org; Fri, 24 Jul 2020 00:01:01 -0400 Received: by mail-pg1-x535.google.com with SMTP id j19so4536438pgm.11 for ; Thu, 23 Jul 2020 21:00:59 -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=ev33ymA/NWxRnwrLz3/ODkJVeqad755C1riHa70+nQM=; b=J/IldpfzkZG2CDrZGeU9MJWO+3Ahbmgsxjoi84kzKjfsk7S2SFHneR6Z63e+dYwZsW avieQadO2DqeioxI1/pP2n6veTfA07d4GN8Rmbj0fvVRHzr97FZ8ROXvlA+RfxBaVjEP MPGpB889VIcR7fVcn4Alm0JNsCgia1yxhZkmYBNYoa2sfNZhAEegEhG/HYsgp2R0+YTT uz9h0no78huAViw8jOXXwqrUaNPNOndINjgvgQzEajsSYqBxMHijYLOEJbbsexY1L7hL C3QlcJbr3xBsPhnlRDj7HAePE9bONQZaXtQdCvZ2bkgOuszgU594p9IgT4R8xWCHZu/Q YoFA== 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=ev33ymA/NWxRnwrLz3/ODkJVeqad755C1riHa70+nQM=; b=ot26QS4r5pIJZ2uyJUWUIlDr+CLhlvtcKHkVl3hb+SLZWANeyXaqAxqJ1LBUd1f7N+ SkqBi2dyinG/edG5zWNe9e9SQ0+csqiYVq0tVTpm5q4FEF89PZguOuShvMDiZI2T7RH1 Cr3uzLwcHU/ccJ/GlQjdemaDOxpgsWde+TSN+8M6yOoEyaHl3aEYapBPQtaO/nx4/CQt Qi7779Te1FyhHT32iu3qIci/f+TVIIbH5wnTkzx4N2+eEl0eergO7hgPHxybMcAWWSQd SN8dgat5rjpLhIm1YoyBtls1FNG6hZl2CnZwrh0n/7WbQPa54KqRuuQreXMBTePBW8yh 1yEQ== X-Gm-Message-State: AOAM532sTc3WDpeAY61DmMk+a5HQ2oPjJL4GPbujc/0jiSTRfIFlTD4b vKHp5zKqD9Yvb8YAPbGmGjZlACJE3WB6ywQ+HHarY9fc X-Google-Smtp-Source: ABdhPJwgZbvH61ilUOR3WVoJzn2vNGEr7oXIpWvXY8zftrhwWbG7kpYnv7Vb452jn9cRR5VbxXYAvAy/pt6uy2K9VAA= X-Received: by 2002:a63:3ece:: with SMTP id l197mr7125251pga.313.1595563258271; Thu, 23 Jul 2020 21:00:58 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:6a10:8441:0:0:0:0 with HTTP; Thu, 23 Jul 2020 21:00:57 -0700 (PDT) From: Samuel Wales Date: Thu, 23 Jul 2020 21:00:57 -0700 Message-ID: Subject: FR: allow adding a deadline with warning days [was Re: 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::535; envelope-from=samologist@gmail.com; helo=mail-pg1-x535.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=J/Ildpfz; 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: 9cZEU1BWfOlz i think the following boils down to: i think it would be less error prone if we allowed c-u c-u to work when adding a deadline to an entry. in maint it errors. thank you. On 7/22/20, Samuel Wales wrote: > 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 > -- The Kafka Pandemic What is misopathy? https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html