emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* default value for org-capture-templates
@ 2018-12-28 16:17 Tyler Smith
  2018-12-29 13:34 ` Thomas Shannon
  2018-12-29 13:41 ` Nicolas Goaziou
  0 siblings, 2 replies; 4+ messages in thread
From: Tyler Smith @ 2018-12-28 16:17 UTC (permalink / raw)
  To: Emacs Org-Mode Help

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

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

end of thread, other threads:[~2018-12-31 14:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-28 16:17 default value for org-capture-templates Tyler Smith
2018-12-29 13:34 ` Thomas Shannon
2018-12-29 13:41 ` Nicolas Goaziou
2018-12-31 14:51   ` Tyler Smith

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