From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 MKx8EC8Uc2L6+AAAbAwnHQ (envelope-from ) for ; Thu, 05 May 2022 02:02:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sLMdEC8Uc2KnjwAAauVa8A (envelope-from ) for ; Thu, 05 May 2022 02:02:55 +0200 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 797553E988 for ; Thu, 5 May 2022 02:02:54 +0200 (CEST) Received: from localhost ([::1]:40420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmOxI-0007GO-ID for larch@yhetil.org; Wed, 04 May 2022 20:02:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60770) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmOwt-0007Fy-Ac for emacs-orgmode@gnu.org; Wed, 04 May 2022 20:02:27 -0400 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]:35792) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmOwr-0006Bf-Iu for emacs-orgmode@gnu.org; Wed, 04 May 2022 20:02:26 -0400 Received: by mail-pl1-x62d.google.com with SMTP id c9so2194688plh.2 for ; Wed, 04 May 2022 17:02:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=EsBznvnD6n/G18+nV/53FU0AnOnUBddvcDYge4kgbYo=; b=TCv98mCXmK77PwgUALwIWRguOOr6qL/u9pUFJFjtHs3GjiDFdI0BiEFdRJInHv8ul8 Hyfnh7yRhcZDRWb4MtHVeQwxwRqPOtMyZ1ylYv4amfKOq9RwfdW1upKVA3hOpVn5mWY2 ocGUKg0yvxoutBJqT3SnLa2SfhlOUay8XkwcBiRPoui+citFrnxA+AB5EmzyejDStsZ4 CgGXTqspv7VS63qDwhlZjAsc+JKHweiF1mE21cYNO7SdfgWfa+B9QL9npN/aLnvfT9qv 6NUiS99gvR+EZS8al3x6QbPweVQmJA+GfHD5XMwmwNE3olmAkZ8D6CPrb8AfUAo2SpFe jp9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=EsBznvnD6n/G18+nV/53FU0AnOnUBddvcDYge4kgbYo=; b=VhAd1uhsegxm4LKeRnl38pXtjcLede5ORWPn9JziykjsNTIkxuXVOCLGB8rBoumQEG Be3pkUxr/A2qZSEJQIiZUvw6+dfXHU2iG5V3dds9pt8CNLxSgodkkNSxM+cnNkG93P4q vuABEa6kbTr+aoLoPJQ3FCVNCir4c/Z2d2Q+JSe9mzGivlgk8b0x6pVMja6WfdEEa9D8 qawRp/N2huH4jTUSZ9J4YBrr1hW7/VqnkCwUOatEJtMkb0D5eldKcCzD9hcFng39V2WT 7omJNEbBPfLraEGjVV14q0ce0EIWSjFlPT6dwkPzke/NHB0ZuLwVM1b87xHb/m5/tQZQ iMhw== X-Gm-Message-State: AOAM531RxSuqjj79IDLprZyNgXCwyDiAYL0/lcOt9wnlAKA4oVyNmvgP Xobw5PgKZEwCpeaLylepAfMfNgpGo2TUZ0BVJDRbRWpfrI14uP7b X-Google-Smtp-Source: ABdhPJwEHU1Sv4gb7n7mf91457yiyzeFE/YtfIWPBnx8EqYPhzgY0KnRmrxBQ3gITO+yQnaQrg8JHeuLHDeUugtCdUk= X-Received: by 2002:a17:90b:4a90:b0:1dc:4122:6a70 with SMTP id lp16-20020a17090b4a9000b001dc41226a70mr2550350pjb.216.1651708943329; Wed, 04 May 2022 17:02:23 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:6a06:16c3:b0:4b8:bf09:e16e with HTTP; Wed, 4 May 2022 17:02:21 -0700 (PDT) From: Samuel Wales Date: Wed, 4 May 2022 17:02:21 -0700 Message-ID: Subject: [tip] direct specification of deadline warning days without editing text To: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::62d; envelope-from=samologist@gmail.com; helo=mail-pl1-x62d.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, T_SCC_BODY_TEXT_LINE=-0.01 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651708974; 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=EsBznvnD6n/G18+nV/53FU0AnOnUBddvcDYge4kgbYo=; b=W0TjoA1youXrAs82ZMHjAN4jPJS7q7nWJBO4LLoYdO8HOaXA6En1NYc5HMXjIkkvTbSftS moV1TGKuflsi/kz4K6vhs7EVyRrKpF+Jgynh45E9TcluHemB5ACisbXVnPyPmzXDOrx8Y4 ycGARc/SCZYJbBO7TnJ3BAYvrMqlRXiwPg9vwN6MzfKXdxoArxa9gkBym7VRhFWvT3jn5E QL6eAMJuwcPilLCD1xTJmI6hVmq0n+uRh+6dB8NwkqUxGlcfaE6byUZc/vY/1PYrL/afhv 2khSbZidUgd17qWXiwmOhFSsVkoh27RNYK+6vVNwNHop8U4JZNpRRh83iHgBgA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651708974; a=rsa-sha256; cv=none; b=BsVYC9vPpwerRvX6NabfquWCsaQ71sJNye3kZbZqMnwDeH9ILarauyNm49as/RMLgsIBxl 1lCKiq1bi48Y/5kgQ/e4voei37aSLFl2OHBpRTZmEcj2+S/jqBgIVHeOvLyeQPTqMhYzI3 xxytgSKL0WiZdYcOeRr75YqiGJcXwJIai4nF8puMMh+hRgIn1bWPwA1NxbJDcqby/VI+VE 6u/hEzOH4qAS8JWrl79W7KAdppr/cKKuWUBA5+JFsD3j5DUcUHp/Bl4ae80XQBayzZB5cy QcV6O57t2mineSQQz/qHy5HIM4+X9+AcAICws8tzdrCYsLWzjQNOQz9YOBehRg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=TCv98mCX; 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: -5.49 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=TCv98mCX; 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: 797553E988 X-Spam-Score: -5.49 X-Migadu-Scanner: scn0.migadu.com X-TUID: vvt1hipYofrc in retrospect this solution is completely obvious but i thought i would mention it in case somebody searches for it. in agenda, i do c-u c-u c-d. this allows me to remove deadline warning days [RET, very convenient!] or specify them. a good thing about this feature is that there is less chance of manually creating a format error in the timestamp as would occur by going to the ts and editing it manually. also it seems nothing is relative to the existing warning. that is good. the prompt, however, seems geared toward specifying a date. you can specify indirectly the deadline warning days by specifying the date that would be the warning. the question is, can we specify deadline warning days directly? here is where it is obvious in retrospect but as i was not thinking in terms of default date it was not. suppose i want deadline warning days of -2d but do not want to manually edit the ts or calculate the corresponding date. if the deadline is somewhat in the future but displayed in the deadline section of the agenda, and i try c-u c-u c-d, the following intuitive ideas do not work: 2, -2, 2d, -2d, and as desperation, trying the in retrospect nonsensical . first. i wasn't fully cogitating that the prompt was date oriented but that the default date is the ts date and can work. i read the manual for my obsolete version of org (info "(org) The date/time prompt") and my brain did not find it. i was looking at the examples for things like -- even though they were mentioned in the text. solution seems to be --2d. whether modern org needs to include a few examples with -- or not, idk. idk if that helps anybody [it is going to take much time to upgrade].