From: "Tyler Smith" <tyler@plantarum.ca>
To: Emacs Org-Mode Help <emacs-orgmode@gnu.org>
Subject: default value for org-capture-templates
Date: Fri, 28 Dec 2018 11:17:19 -0500 [thread overview]
Message-ID: <99a3fff5-b9c2-44e9-965a-e40c9fe89ffe@www.fastmail.com> (raw)
Hi,
A question came up on StackOverflow asking about how to use the default capture template (`Task`) in combination with user-defined templates: https://emacs.stackexchange.com/questions/46794/where-is-default-org-mode-capture-template-for-tasks-located
The default Task template is actually stored in the function `org-capture-select-template`. This is a bit surprising, and requires the user to manually transfer it to the the variable `org-capture-templates` if they want to keep it as one of their options.
Is there a reason not to set this built-in `Task` template as the default value of `org-capture-templates`? That would provide the user with a transparent way of keeping it as an option, modifying it, or removing it, as they prefer, through the usual customize interface.
I can put together a patch to do this if I haven't overlooked a problem this would create.
Best,
Tyler
--
plantarum.ca
next reply other threads:[~2018-12-28 16:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-28 16:17 Tyler Smith [this message]
2018-12-29 13:34 ` default value for org-capture-templates Thomas Shannon
2018-12-29 13:41 ` Nicolas Goaziou
2018-12-31 14:51 ` Tyler Smith
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=99a3fff5-b9c2-44e9-965a-e40c9fe89ffe@www.fastmail.com \
--to=tyler@plantarum.ca \
--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 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.