emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: John Hendy <jw.hendy@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Adding tags when capturing?
Date: Thu, 20 Dec 2012 23:29:12 +0100	[thread overview]
Message-ID: <m2wqwc73yf.fsf@top-wifi.irisa.fr> (raw)
In-Reply-To: <CA+M2ft9sLWWK84G76DZKRveVx4+NGg_+zo2R4pUDE1wFCRUmgA@mail.gmail.com>

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

      reply	other threads:[~2012-12-20 22:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-20  8:11 Adding tags when capturing? Alan Schmitt
2012-12-20  8:22 ` Bastien
2012-12-20  8:30   ` Alan Schmitt
2012-12-20  8:47     ` Carsten Dominik
2012-12-20  9:05       ` Alan Schmitt
2012-12-20 10:37         ` Bastien
2012-12-20 11:05           ` Alan Schmitt
2012-12-20 11:56         ` Richard Riley
2012-12-20 16:21           ` Brian van den Broek
2012-12-20 17:02 ` John Hendy
2012-12-20 22:29   ` Alan Schmitt [this message]

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=m2wqwc73yf.fsf@top-wifi.irisa.fr \
    --to=alan.schmitt@polytechnique.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=jw.hendy@gmail.com \
    /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).