On Mon, 2 Nov 2020 00:19:38 +0300 Jean Louis wrote: > My key binding {C-c c} is bound to `org-capture' that opens various > capture templates that use in turn various Org files, I can quickly > add a task by using template and quickly come back to whatever buffer > I was. Would that be something for you? Yes, that's cool. > > On the other hand sometimes I simply want to record TODO in the > database straight from mutt, by simply pressing F12: > > macro index,pager > "/home/data1/protected/bin/rcd/email-pipe-simpletodo.lisp" > "Quickly add TODO to RCD Business" Nice. > That principle could be used to transform email into Org task without > any further interaction or with interaction if necessary. Very nice! > > Simple example without interaction (without asking user for anything): > > macro index,pager "cat | grep \"^Subject: \\|^From: > \\|Date: \" | sed -E '1,1s/^(.*)/** TODO \\1/' >> my-file.org" > "Quickly add TODO to my org file" Thank you very much! Sincerely, Gour -- A self-realized man has no purpose to fulfill in the discharge of his prescribed duties, nor has he any reason not to perform such work. Nor has he any need to depend on any other living being.