From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id yNO+CUJeBGCCNgAA0tVLHw (envelope-from ) for ; Sun, 17 Jan 2021 15:56:50 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id FvpeBUJeBGAnUgAAbx9fmQ (envelope-from ) for ; Sun, 17 Jan 2021 15:56:50 +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 83B5D940105 for ; Sun, 17 Jan 2021 15:56:49 +0000 (UTC) Received: from localhost ([::1]:52980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l1AQ3-0006Wx-W6 for larch@yhetil.org; Sun, 17 Jan 2021 10:56:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l1APd-0006Wc-LE for emacs-orgmode@gnu.org; Sun, 17 Jan 2021 10:56:22 -0500 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]:33524) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l1APb-0007Wo-J5 for emacs-orgmode@gnu.org; Sun, 17 Jan 2021 10:56:21 -0500 Received: by mail-ed1-x52f.google.com with SMTP id c6so7735994ede.0 for ; Sun, 17 Jan 2021 07:56:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:thread-topic:thread-index:date:message-id :references:in-reply-to:reply-to:accept-language:content-language :mime-version; bh=f83suiGFugzMqD+qcG/dFDysUZiC4PqaKhiGEBIzmlQ=; b=kW/Ad3Fwv1C75nr1AyUfKbu1sWoOrrEksDLTe7plIDW8hxqCM6Mrlg37IGFXXy31nO PU9q3AOQjLI3vmiooV3YFI2GBOIJVp3Nwxy4BImivLnd02Io9NLCSkzxYbbvGyh1P2bQ mqUJKQSaUxnGJxDBgNSI7hlRDc8k1QVRDDJuzfNO1HrkO75SWj6THbuLPKKyw3/TCsvu QNBDB5sILk9UyECXRpwQe8Q4sJbeVNo5Ry57CO7VMlAb15Mahn5LshcYm8QoKlreaO2A AXbE+DpWVAdLy2N6AXdW1jruxCnq78vfH+JQb/b7CzCtfam8gGtdHDVG+3+uK/NUgVVe Zg8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:thread-topic:thread-index :date:message-id:references:in-reply-to:reply-to:accept-language :content-language:mime-version; bh=f83suiGFugzMqD+qcG/dFDysUZiC4PqaKhiGEBIzmlQ=; b=YVJhYpu3P4wTsqqo8AxV1mxqSGENWdGrh3oPsvk/7ATKCwEXf5GN5kd9DfiGbnlz4B 8CIy1EsO+J2hbgEsjzhlbGxTihyGjBxRIxdwuVI0Z+FnNSfynrqswVngwxCRCURECkhO 0CK7Mytw1A+BD3gr24KKqWHTkwWeGhL29RveCKr2wOrnGd1pnrXmvE+Fv/vLN8CxTHYl pHLD1CeRbvvLxJhAoffjIQ9R4j/D/HY7ntrHoUp+reCC9GHQlXefYsm+2LFO1sYh5FLS EI6zQQimnbf9uH16w94f7FJy2XYPIgtYBAjLGTwPT1759BjuCIzOzE0qMhZmGJzVK6Bi TKUg== X-Gm-Message-State: AOAM532hi60nFEIHqOdW8Ce/9UGz2kUrKZWi8V3GjGhA1Aaxdl1ccfUj mlEoDcHu9Qkj6I5UV4Vjy+2dTxkbzw== X-Google-Smtp-Source: ABdhPJxHVvHkxy2BlDbGMniUn1oJ5KE6cjvd0IEhobDoKRo5AoawRBbwowqOwwjfYvyF3iNwur2pFQ== X-Received: by 2002:a05:6402:3553:: with SMTP id f19mr16688499edd.271.1610898976523; Sun, 17 Jan 2021 07:56:16 -0800 (PST) Received: from VI1PR1001MB1070.EURPRD10.PROD.OUTLOOK.COM ([2603:1026:300:5a::5]) by smtp.gmail.com with ESMTPSA id dm1sm2721494edb.72.2021.01.17.07.56.15 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Jan 2021 07:56:15 -0800 (PST) Received: from dark (183.246.145.54) by HKAPR03CA0036.apcprd03.prod.outlook.com (2603:1096:203:c9::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.7 via Frontend Transport; Sun, 17 Jan 2021 15:38:05 +0000 From: Christopher Miles To: Ihor Radchenko Subject: Re: [feature request] A new cookie type [!] showing the last note taken Thread-Topic: [feature request] A new cookie type [!] showing the last note taken Thread-Index: AQHW7ObAvyXJdAvXTk+NBwBWeDkoqA== X-MS-Exchange-MessageSentRepresentingType: 1 Date: Sun, 17 Jan 2021 15:38:06 +0000 Message-ID: References: <87zh6eymxs.fsf@localhost> In-Reply-To: <87zh6eymxs.fsf@localhost> Accept-Language: zh-TW, en-US Content-Language: en-US X-MS-Exchange-Organization-AuthAs: Internal X-MS-Exchange-Organization-AuthMechanism: 06 X-MS-Exchange-Organization-AuthSource: VI1PR1001MB1070.EURPRD10.PROD.OUTLOOK.COM X-MS-Has-Attach: yes X-MS-Exchange-Organization-Network-Message-Id: 57f13a6d-394a-45cb-8ce5-08d8bafde28b X-MS-Exchange-Organization-SCL: -1 X-MS-TNEF-Correlator: X-MS-Exchange-Organization-RecordReviewCfmType: 0 x-clientproxiedby: HKAPR03CA0036.apcprd03.prod.outlook.com (2603:1096:203:c9::23) To VI1PR1001MB1070.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:800:69::18) Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::52f; envelope-from=numbchild@gmail.com; helo=mail-ed1-x52f.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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, PDS_BAD_THREAD_QP_64=0.999, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , Reply-To: Christopher Miles Cc: "emacs-orgmode@gnu.org" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.16 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b="kW/Ad3Fw"; 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-Migadu-Queue-Id: 83B5D940105 X-Spam-Score: -5.16 X-Migadu-Scanner: scn1.migadu.com X-TUID: Nn8ArUbizrJb --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I think this is possible through read last note text in logbook, then displ= ay it in headline through text-property overlay. That's what I did in this package [[https://github.com/stardiviner/org-link= -beautify]] Should not be that hard to implement it. Ihor Radchenko writes: > 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 = Awesome 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= in header args (:file or :dir) [[id:468e0645-68aa-4e14-86de-e5ce153538e3][= [2017-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 =2D-=20 [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAmAEWdUACgkQG13xyVro msNLPQf/dajrddgS243cVnEtV30kVC9I90FCsbCt0LT4mEDNkPEZsVxXf0a72UXm H7eWxDBvrjGRbM/I0aULbHx508E6Vusbiv5CTRpoa+5T+PjUI9ElLuXpZghjJ7wV YlNNIOg2EPofZOto8o15IuhkXc59XXJlrytVWCP6mwhiI54vFSBJeiPoBpP2ormg /vRr9JYxE9LWAkFOCJDgDGMDHcGLdqZ4fYPa/kLLmo5Sd77i/kqvf+EVWdlRsxj+ /8OrWG3226IxbttTwDyNxzdS4yuhIX6KgGdnVDRWRggDvzitybSjGbUWyO4OXUZr C79RznnIU+xKUDT6RXBITiP/aKv+kA== =Livu -----END PGP SIGNATURE----- --=-=-=--