unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Org Capture - Copy of Entry to another Org File
@ 2020-11-28 14:12 daniela-spit
  2020-11-28 16:20 ` Jean Louis
  0 siblings, 1 reply; 3+ messages in thread
From: daniela-spit @ 2020-11-28 14:12 UTC (permalink / raw)
  To: Help Gnu Emacs

I am making some templates for Org Capture, code below.

Is it possible to have an option to send a copy of a Todo Entry
(stored in todo.org) to either the "Today" or "This Week" in
sched-plan.org.


-------- start of code --------

   (setq org-capture-templates
      `(("t" "Todo: Schedule")              ; backquote construct
        ("te" "Todo: Entry" entry
           (file "~/ghistr/gadmin/todo.org")
           ,(concat                        ; special marker [,]
               "* TODO %^{Heading}\n  Brief: %^{Brief}\n  Detail: %?\n"
               "  Scheduled: %^T\n  Entered: %T\n  Link: %a\n")
           :clock-in t :clock-resume t)

        ("td" "+ Today" entry
           (file "~/02histr/gadmin/sched-plan.org")
           ,(concat                        ; special marker [,]
               "* TODO %^{Today|ThisWeek|ThisQuarter}\n"
               "%^{Heading}\n %i")
           :clock-in t :clock-resume t)

        ("tw" "+ Week" entry
           (file "~/02histr/gadmin/sched-plan.org")
           ,(concat
               "* TODO %^{Heading}\n  Brief: %^{Brief}\n  Detail: %?\n"
               "  %^{Scheduled: |Today|This Week|This Quarter}\n"
               "  Scheduled: %^T\n  Entered: %T\n  Link: %a\n")
           :clock-in t :clock-resume t)




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-28 16:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-28 14:12 Org Capture - Copy of Entry to another Org File daniela-spit
2020-11-28 16:20 ` Jean Louis
2020-11-28 16:38   ` daniela-spit

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).