all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* org-capture-templates constructed from three distinct functions
@ 2020-12-12  1:14 Christopher Dimech
  2020-12-12  1:48 ` Emanuel Berg via Users list for the GNU Emacs text editor
  2020-12-12  3:16 ` Michael Heerdegen
  0 siblings, 2 replies; 29+ messages in thread
From: Christopher Dimech @ 2020-12-12  1:14 UTC (permalink / raw)
  To: Help Gnu Emacs

I am writing an org capture template for a book.  I would like a different function
for each book, suppose I have three (Book A, Book B, Book C).  Selecting either A,
B, and C, I can then te to the respective entries for each book.

Can using three different functions be done to make org-capture templates?


(defun captr-writing ()

  (setq org-capture-templates
   `(("A" "Book A")  ; backquote construct
     ("A1" "Tdr: Ch01 Oceanic Microseismology" entry
        (file+headline "~/02histr/tdr/01ch.rcl.org" "Tdr Document")
        ,(concat "* Oceanic Microseismology\n"  ; special marker
           "  %^{Select |Augment:|Include:|Clarify:|Organise:} %?\n"
           "  Scheduled: %^T\n  Entered: %T\n  Link: %a\n")
        :clock-in t :clock-resume t :empty-lines 1)

     ("A2" "+ Ch02 Multi-Resolution Spectral Analysis" entry
        (file+headline "~/02histr/tdr/02ch.rcl.org" "Tdr Document")
        ,(concat "* Ch02 Multi-Resoln Spectr Anly\n"
           "  %^{Select |Augment:|Include:|Clarify:|Organise:} %?\n"
           "  Scheduled: %^T\n  Entered: %T\n  Link: %a\n")
        :clock-in t :clock-resume t :empty-lines 1) )))

Thank you
C*



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

end of thread, other threads:[~2020-12-12 22:55 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-12  1:14 org-capture-templates constructed from three distinct functions Christopher Dimech
2020-12-12  1:48 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-12-12  2:05   ` Christopher Dimech
2020-12-12  2:14     ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-12-12  2:17       ` Christopher Dimech
2020-12-12  2:21       ` Christopher Dimech
2020-12-12  2:30       ` Christopher Dimech
2020-12-12  2:38         ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-12-12  2:43           ` Christopher Dimech
2020-12-12  2:56             ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-12-12  3:00               ` Christopher Dimech
2020-12-12  3:34                 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-12-12  9:02                   ` tomas
2020-12-12  9:43                     ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-12-12  2:09   ` Christopher Dimech
2020-12-12  3:16 ` Michael Heerdegen
2020-12-12  3:24   ` Christopher Dimech
2020-12-12  3:43     ` Michael Heerdegen
2020-12-12  3:51       ` Christopher Dimech
2020-12-12  3:57         ` Michael Heerdegen
2020-12-12  4:02           ` Christopher Dimech
2020-12-12  4:14             ` Christopher Dimech
2020-12-12  4:18           ` Christopher Dimech
2020-12-12  4:31           ` Christopher Dimech
2020-12-12  4:54           ` Christopher Dimech
2020-12-12 22:47             ` Michael Heerdegen
2020-12-12 22:55               ` Christopher Dimech
2020-12-12  3:58       ` Christopher Dimech
2020-12-12 22:51         ` Michael Heerdegen

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.