From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: Adding tags when capturing? Date: Thu, 20 Dec 2012 23:29:12 +0100 Message-ID: References: , Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TlocG-0003sS-3x for emacs-orgmode@gnu.org; Thu, 20 Dec 2012 17:29:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tloc7-0004P3-Ng for emacs-orgmode@gnu.org; Thu, 20 Dec 2012 17:29:24 -0500 Received: from mail4-relais-sop.national.inria.fr ([192.134.164.105]:51766) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tloc7-0004Ox-Gm for emacs-orgmode@gnu.org; Thu, 20 Dec 2012 17:29:15 -0500 In-reply-to: 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Hendy Cc: emacs-orgmode John Hendy writes: > On Thu, Dec 20, 2012 at 2:11 AM, Alan Schmitt < > alan.schmitt@polytechnique.org> wrote: > >> Hello, >> >> Is there a shortcut to add tags when doing a capture? C-c C-c obviously >> does not work. >> >> If one could specify a list of tags from which to complete, it would be >> great as well. >> >> > Are you using a template? I might be missing something, but it seems that > orgmode already does this. Here's my todo template: > > ----- > ("t" "task" entry (file+headline "~/org/projects.org" "Tasks") > "* todo %? %^g\n%u" :prepend t) > ----- > > the =%^g= option has the capture window prompt for tags right away. Lower > case g auto-completes for tags in the target file. =%^G= auto-completes > with tags in any file in the agenda list. > - http://orgmode.org/manual/Template-expansion.html#Template-expansion > > Will that do what you're looking for? I'm using a (very simple) template, and this gives me some great ideas on how to improve it. Thanks for the suggestion! Alan