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 GMhTK06gUl9sKQAA0tVLHw (envelope-from ) for ; Fri, 04 Sep 2020 20:15:10 +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 MJxIJ06gUl88agAA1q6Kng (envelope-from ) for ; Fri, 04 Sep 2020 20:15:10 +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 3CC00940366 for ; Fri, 4 Sep 2020 20:15:10 +0000 (UTC) Received: from localhost ([::1]:53714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEI73-0003fh-6P for larch@yhetil.org; Fri, 04 Sep 2020 16:15:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53360) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEI6h-0003fM-P1 for emacs-orgmode@gnu.org; Fri, 04 Sep 2020 16:14:47 -0400 Received: from mail-pg1-x52b.google.com ([2607:f8b0:4864:20::52b]:44462) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kEI6g-0000L1-2o; Fri, 04 Sep 2020 16:14:47 -0400 Received: by mail-pg1-x52b.google.com with SMTP id 7so4866644pgm.11; Fri, 04 Sep 2020 13:14:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=8LdIQf6EYXKbgRsxsMbttl3KEHYggKsp3AhT/FnI7X0=; b=UBjnXu26eFPNs3PZczBx1xtAWgddMzsf0tVwC9oWEJ/NbENZAq9aUy+ZxRQv52aOHc wXLUMOevP+QbRQBLApRiZE2/dl/H21dX/igjE1boZhhMygg35m7FGjxTyfdQSGBMozgV 35qvxwsZUnZPT8R1saOi7MGDe8R7HZQAUynLwZkMgmBFRhawoZfeqTmvE4zOPO1v07Aj xu5LstUIKw1kzVGk70tnuxeUkyjbcs98gvlfRsWozCTHKRXLJ2N2AhDjKOClHhVTYPHF xduASTMD+IYWZloCfjpIYfyOJ3MDDFsY1VE7z7wMdBmCERWBr+wTkNI6C9Qh54t17s8+ aBbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=8LdIQf6EYXKbgRsxsMbttl3KEHYggKsp3AhT/FnI7X0=; b=NC20twZP/tGRuiBdoQrWamzQnBxQGV3oflP6E6b91sR8gf4zrWHTlMYAxacvyR8DKT w/BjwwX9xs5Fd4ASyvPhrDmPai6BacmNUmq8FQrw0szqbT/RgIg17LNND8NGqkC0eyic Am8hwJw8VR0NPfUJcILRSB6/aHtT0ADfvi/rF4AE5iWoM0Ah7DMGsL25rHDewrjxhqQO lzs0iRRU3B8CpI0KV9FZytWMILoLYPmT9cyZatJ/alPFUTyN0MGHIKwKaSeG0aVDlyT4 7J2BiXrIBNk7DLWGiyxVU8GmVGa0o4dIvvxgvJYwlEZEpJH9frCfr4UD3LsqwqBy98ig EcsQ== X-Gm-Message-State: AOAM530nBLa8Lg6i37YZOgcyLWARtByNkK4ZgdR7uWnlSfpEFvlXlKMa ZppXjNWcObTH8Ejxaw4qGRvnmT5+16DxaG0BiIETqxgfWC1h2g== X-Google-Smtp-Source: ABdhPJwzpycxpyYjTepyCWc60b3yqJHhdM/nplsHGSFEogBmKOQpJIF3iHOoNOpRnGsF4vcwpGWwnbnRB97P454ZVOE= X-Received: by 2002:a62:301:0:b029:13c:1611:6528 with SMTP id 1-20020a6203010000b029013c16116528mr8464912pfd.8.1599250483566; Fri, 04 Sep 2020 13:14:43 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:6a10:8371:0:0:0:0 with HTTP; Fri, 4 Sep 2020 13:14:42 -0700 (PDT) In-Reply-To: <87v9gtk341.fsf@gnu.org> References: <87v9gtk341.fsf@gnu.org> From: Samuel Wales Date: Fri, 4 Sep 2020 13:14:42 -0700 Message-ID: Subject: Re: FR: allow adding a deadline with warning days [was Re: deadline warning days entry] To: Bastien Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::52b; envelope-from=samologist@gmail.com; helo=mail-pg1-x52b.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 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=UBjnXu26; 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: +9rPgy7moKM1 hi bastien, the current behavior in maint is if you have an entry with no planning line. if you try to add a deadline with zero days of warning, it will tell you you can't do that. it will not add the deadline. and therefore will not add warning days. you have to add the deadline and then modify it to have your warning days. two command invocations. the best i have discoverd is to add a deadline then go back and change warning days with c-u c-u c-d ret. this will add zero days. it is a lot of keystrokes. what would be good is c-u c-u c-d to add a deadline with warning days at the same time. this is better than being told you can't do that. if the warning days for this defaulted to the global variable for default warning days, that would be useless. you would be specifying the same as the global variable default that the agenda uses when nothing is specified. so the enterable warning days should either be specifiable in the global variable as a cons like (enterable-when-double-prefix . auto-the-agenda-uses), or merely default to zero. which would give the command c-u c-u c-d something to do instead of telling you it cannnot do anything. On 9/4/20, Bastien wrote: > Hi Samuel, > > Samuel Wales writes: > >> 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. > > Can you restate the detailed desired behavior vs. current behavior, > and what problem does it solve? > > Thanks, > > -- > Bastien > -- The Kafka Pandemic Please learn what misopathy is. https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html