emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Cletip Cletip <clement020302@gmail.com>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: Add new word before an org-agenda entry (like "MODIFIED")
Date: Tue, 3 Oct 2023 11:46:35 +0200	[thread overview]
Message-ID: <CAPHku6OPMV-LZhaJoeXCUQfMFEm2AmJVGBnfbRbwtYRzAoU8jw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1180 bytes --]

Hello, everyone! I have a question that may be complex to answer. I
apologize in advance for my limited vocabulary; I will use an example to
elucidate my question better.

Objective: I wish to track when a heading is modified using org-agenda. To
achieve this, I automatically insert an inactive timestamp in the LOGBOOK
drawer whenever a note is modified. However, how can I display the item in
org-agenda with the prefix "MODIFIED:" or another indicator before the
heading to show that I made a modification ?

Here's an example for clarification:
Consider this line in org-agenda:

14:08-14:10 Clocked: (0:02) name-of-the-heading

I want exactly the same thing, but not with the "Clocked" word !

Another example : I would like this entry/heading/item :

** An example
:PROPERTIES:
:CREATED: [2023-09-29 Fri 23:07]
:END:
:LOGBOOK:
MODIFIED: [2023-10-01 Sun 14:09]--[2023-10-01 Sun 14:35]
CLOCK: [2023-09-30 Sat 23:19]--[2023-09-30 Sat 23:25] => 0:06
MODIFIED: [2023-09-30 Sat 14:08]--[2023-09-30 Sat 14:20]
:END:

with the word "MODIFIED:" precede the entry in the org-agenda.

Is this feasible? Can you suggest alternative methods?

Thanks in advance for your futur answer :)

[-- Attachment #2: Type: text/html, Size: 1350 bytes --]

             reply	other threads:[~2023-10-03  9:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-03  9:46 Cletip Cletip [this message]
2023-10-12 11:41 ` Add new word before an org-agenda entry (like "MODIFIED") Ihor Radchenko
2023-10-14 10:12   ` Cletip Cletip
2023-10-14 10:24     ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPHku6OPMV-LZhaJoeXCUQfMFEm2AmJVGBnfbRbwtYRzAoU8jw@mail.gmail.com \
    --to=clement020302@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).