From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Shannon Subject: Re: default value for org-capture-templates Date: Sat, 29 Dec 2018 07:34:23 -0600 Message-ID: <1885B4BB-C12B-4EA2-AE9F-4603CDDFE25D@me.com> References: <99a3fff5-b9c2-44e9-965a-e40c9fe89ffe@www.fastmail.com> Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdEpF-0006hu-UL for emacs-orgmode@gnu.org; Sat, 29 Dec 2018 08:38:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gdElK-0006uQ-Am for emacs-orgmode@gnu.org; Sat, 29 Dec 2018 08:34:51 -0500 Received: from ms11p00im-qufo17281901.me.com ([17.58.38.56]:43686) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gdElI-0006oE-Du for emacs-orgmode@gnu.org; Sat, 29 Dec 2018 08:34:44 -0500 In-Reply-To: <99a3fff5-b9c2-44e9-965a-e40c9fe89ffe@www.fastmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Tyler Smith Cc: Emacs Org-Mode Help 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=E2=80=99t 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 wrote: >=20 > Hi, >=20 > 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 >=20 > 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.=20= >=20 > 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. >=20 > I can put together a patch to do this if I haven't overlooked a = problem this would create. >=20 > Best, >=20 > Tyler=20 >=20 > --=20 > plantarum.ca >=20