* Automatic Capture of Heading Creation Time In Certain Files?
@ 2020-03-13 13:25 Tim Visher
2020-03-16 3:38 ` wry
0 siblings, 1 reply; 3+ messages in thread
From: Tim Visher @ 2020-03-13 13:25 UTC (permalink / raw)
To: Emacs Org Mode mailing list
[-- Attachment #1: Type: text/plain, Size: 722 bytes --]
Ohai,
I would like to automatically have the results of a double prefixed call to
`org-time-stamp-inactive` inserted as the body of new TODO entries. I
suspect I can do this with Capture templates but every time I read that
manual section it seems to have a lot more than I want. I'm also reasonably
sure I could write a simple function and override bindings such that all of
the default behaviors of TODO insertion happened _plus_ newline-and-indent,
newline-and-indent, double prefix org-time-stamp-inactive, previous-line,
previous-line.
Am I missing something here or barking up the wrong tree in either
direction?
Thanks in advance!
--
In Christ,
Timmy V.
https://blog.twonegatives.com
https://five.sentenc.es
[-- Attachment #2: Type: text/html, Size: 933 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Automatic Capture of Heading Creation Time In Certain Files?
2020-03-13 13:25 Automatic Capture of Heading Creation Time In Certain Files? Tim Visher
@ 2020-03-16 3:38 ` wry
2020-03-16 13:53 ` Tim Visher
0 siblings, 1 reply; 3+ messages in thread
From: wry @ 2020-03-16 3:38 UTC (permalink / raw)
To: Tim Visher; +Cc: Emacs Org Mode mailing list
>I would like to automatically have the results of a double prefixed call to
>`org-time-stamp-inactive` inserted as the body of new TODO entries.
Have you tried including %U in your template? See "Template expansion"
in the Org Mode documentation:
("t" "Full task capture" entry (file+headline "~/org/tasks.org"
"INBOX") "* TODO %?\n%iAdded: %U")
>https://five.sentenc.es
Heads up, the ssl on https://five.sentenc.es/ is broken.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Automatic Capture of Heading Creation Time In Certain Files?
2020-03-16 3:38 ` wry
@ 2020-03-16 13:53 ` Tim Visher
0 siblings, 0 replies; 3+ messages in thread
From: Tim Visher @ 2020-03-16 13:53 UTC (permalink / raw)
To: wry; +Cc: Emacs Org Mode mailing list
[-- Attachment #1: Type: text/plain, Size: 853 bytes --]
On Sun, Mar 15, 2020 at 11:38 PM <wry@mm.st> wrote:
> >I would like to automatically have the results of a double prefixed call
> to
> >`org-time-stamp-inactive` inserted as the body of new TODO entries.
>
> Have you tried including %U in your template? See "Template expansion"
> in the Org Mode documentation:
>
> ("t" "Full task capture" entry (file+headline "~/org/tasks.org"
> "INBOX") "* TODO %?\n%iAdded: %U")
>
I have not although maybe this will be the impetus for me finally trying to
figure out the capture system. At least I know it's intended for this use
case. I also imagine some form of advice around heading insertion could
work.
> >https://five.sentenc.es
>
> Heads up, the ssl on https://five.sentenc.es/ is broken.
>
Thank you. I've corrected it to `http` since I don't think there's any
reason to browse it using SSL.
[-- Attachment #2: Type: text/html, Size: 1622 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-03-16 13:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-13 13:25 Automatic Capture of Heading Creation Time In Certain Files? Tim Visher
2020-03-16 3:38 ` wry
2020-03-16 13:53 ` Tim Visher
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).