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 zDGGJL34SV/HAgAA0tVLHw (envelope-from ) for ; Sat, 29 Aug 2020 06:42:05 +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 cNOqFr34SV9yawAA1q6Kng (envelope-from ) for ; Sat, 29 Aug 2020 06:42:05 +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 E16359400EF for ; Sat, 29 Aug 2020 06:42:04 +0000 (UTC) Received: from localhost ([::1]:60740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBuYt-0003LQ-RZ for larch@yhetil.org; Sat, 29 Aug 2020 02:42:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBuYV-0003L4-1q for emacs-orgmode@gnu.org; Sat, 29 Aug 2020 02:41:39 -0400 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]:45896) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kBuYT-0000OL-D6 for emacs-orgmode@gnu.org; Sat, 29 Aug 2020 02:41:38 -0400 Received: by mail-pf1-x432.google.com with SMTP id k15so1761888pfc.12 for ; Fri, 28 Aug 2020 23:41:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=vpE12T99E7bBN+dXl3N4/PEVqoIfGPjfiaobhVCtodw=; b=tNaSalngxw4keofgQfk+DAFQfyABrUJK83eGk5ywpLh0DrjWNRvd/BepOnq78WJSi0 ykr5+NK0Yc7P1b+RPiCs3uEGDAnmhtCOGCIHaZoUPW8qxmpn11303CIxkZWAg/SBdolD LXExfMdP0ggSkh29qLIs1ST1CqmfAk+1PsTBUoxBlUCzeP3PCEG8TPcA7YW+1jv4vNNE v/VdwGdKRxctwygIHJYDq8bl0yRlZQLYGOlp1eD0RqztkES/DVX8p/Zlii94wyq3jPM3 /OboFyoFt79fiDI5k757rULSW1DO8wNg4Ldq3QfanBmpYrp2HOVy04bgJfm8BkVsdYBM QiWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=vpE12T99E7bBN+dXl3N4/PEVqoIfGPjfiaobhVCtodw=; b=Yh53aWeyt9tleeY7SMKCfsRUulppiyW3tB+DNmHzpWPvmNfTgNrhD73RB1LC7iAZKl xpNgouLVe1Po+/xmCVer2Pnq+N0xqtuO4V1VCpJtfwWsyJLaX9kjROcv/CP0nhuBi7oQ e7LlB0kAVBICEmVLcWfmV8BATKqmh5uQc6Yh0iUhGTWPLHdBOeQohQ6Vh3gyj+/mtvvm yz2I9yVqWmGwQ8tOiR5o7cKCs0CBVExdgL6EjRM6CKw6TB60xLY183PgTJwOiaNQ5Q8X SLLZD3EviPlfV4p8vGEYSdC+MvHN/b3kJzOp8FlqvlsU6Ere+TSx1P7iFKu6dixzSqXO XoPA== X-Gm-Message-State: AOAM532WqecDTmIdUNHi2cd4EojTYakHwOgblvnfqmBQG9D8xD4EnZfm i1oPFGbcjs67JRcyAVfHeDr66qd7IUnk/Q== X-Google-Smtp-Source: ABdhPJwWt4rUEy/HReE7MEGYYaDkkfqaKUWX1GAmcEP9asgICt+4Q51Jv3GLDAMkCi8aKBYZsIYZsQ== X-Received: by 2002:a63:310a:: with SMTP id x10mr1590072pgx.1.1598683294971; Fri, 28 Aug 2020 23:41:34 -0700 (PDT) Received: from localhost ([104.250.131.79]) by smtp.gmail.com with ESMTPSA id 83sm1150545pfz.116.2020.08.28.23.41.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 23:41:34 -0700 (PDT) From: Ihor Radchenko To: emacs-orgmode@gnu.org Subject: [feature request] A new cookie type [!] showing the last note taken Date: Sat, 29 Aug 2020 14:40:31 +0800 Message-ID: <87zh6eymxs.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::432; envelope-from=yantar92@gmail.com; helo=mail-pf1-x432.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: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, 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: , 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=tNaSalng; 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.21 X-TUID: +SvVH5+VilXN Over the years of using Org I often have a need to add a short note about how to proceed with some task: ***** REVIEW check again, subscribe | sindresorhus/awesome: =F0=9F=98=8E Aw= esome lists about all kinds of interesting topics :BOOKMARK: :PROPERTIES: :CREATED: [2020-03-15 Sun 18:59] :Source: https://github.com/sindresorhus/awesome :END: :LOGBOOK: CLOCK: [2020-03-17 Tue 16:18]--[2020-03-17 Tue 17:46] =3D> 1:28 CLOCK: [2020-03-17 Tue 16:03]--[2020-03-17 Tue 16:18] =3D> 0:15 - Refiled on [2020-03-16 Mon 23:59] :END: In the above example, the short note is "check again, subscribe". The note is not fixed, but changes as I progress with completing the task. This is even more useful for delegated or HOLD tasks where I often need to add a short note why the task is delegated or put on hold: ** HOLD Finish the text prop org-mode | make babel support org file links i= n header args (:file or :dir) [[id:468e0645-68aa-4e14-86de-e5ce153538e3][[2= 017-09-22 Fri] CuNbARBshearstrength]] :HOLD: :PROPERTIES: :CREATED: [2020-07-20 Mon 16:53] :SHOWFROMDATE: 2020-08-15 :END: :LOGBOOK: - State "HOLD" from "NEXT" [2020-08-10 Mon 15:16] \\ Finish the text prop org-mode - Refiled on [2020-07-20 Mon 17:15] CLOCK: [2020-07-20 Mon 16:53]--[2020-07-20 Mon 16:54] =3D> 0:01 :END: Seeing this note directly in the headline without a need to dig into the task body / LOGBOOK drawer is really handy. In this last example, I had to duplicate the note taken using built-in note mechanism into headline, which was inconvenient. It would be handy if I could simply add a [!] cookie (similar to [/] or [%] cookies) to the headline to show the last note taken for this task. Then, I could easily see the reason why the task is blocked or what I am supposed to do with the task right in agenda view or in the folded headline. Something like the following ** HOLD [!] make babel support org... :HOLD: :LOGBOOK: - State "HOLD" from "NEXT" [2020-08-10 Mon 15:16] \\ Finish the text prop org-mode - Refiled on [2020-07-20 Mon 17:15] CLOCK: [2020-07-20 Mon 16:53]--[2020-07-20 Mon 16:54] =3D> 0:01 :END: The cookie would be replaced by the last note text, according to user-defined format (say, "[%s] |"): ** HOLD [Finish the text prop org-mode] | make babel support org... :HOLD: :LOGBOOK: - State "HOLD" from "NEXT" [2020-08-10 Mon 15:16] \\ Finish the text prop org-mode - Refiled on [2020-07-20 Mon 17:15] CLOCK: [2020-07-20 Mon 16:53]--[2020-07-20 Mon 16:54] =3D> 0:01 :END: What do you think? Best, Ihor