emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thomas Shannon <tshanno@me.com>
To: Tyler Smith <tyler@plantarum.ca>
Cc: Emacs Org-Mode Help <emacs-orgmode@gnu.org>
Subject: Re: default value for org-capture-templates
Date: Sat, 29 Dec 2018 07:34:23 -0600	[thread overview]
Message-ID: <1885B4BB-C12B-4EA2-AE9F-4603CDDFE25D@me.com> (raw)
In-Reply-To: <99a3fff5-b9c2-44e9-965a-e40c9fe89ffe@www.fastmail.com>

In fairness, the formula for the default template is given in the description of the function and is, therefore, in the information when the user looks for help on how to customize this variable.  There is also a reasonably good example, though not the exact same template, in the info file.  So the way it is handled now isn’t unreasonable.

Nevertheless, I personally would support this change.  It would make it that much easier.

Tom S.

> On Dec 28, 2018, at 10:17 AM, Tyler Smith <tyler@plantarum.ca> wrote:
> 
> 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
> 

  reply	other threads:[~2018-12-29 13:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-28 16:17 default value for org-capture-templates Tyler Smith
2018-12-29 13:34 ` Thomas Shannon [this message]
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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1885B4BB-C12B-4EA2-AE9F-4603CDDFE25D@me.com \
    --to=tshanno@me.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tyler@plantarum.ca \
    /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 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).