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

[-- Attachment #1: Type: text/plain, Size: 871 bytes --]

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?


John


> Thanks a lot,
>
> Alan
>
>

[-- Attachment #2: Type: text/html, Size: 1669 bytes --]

  parent reply	other threads:[~2012-12-20 17:02 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 [this message]
2012-12-20 22:29   ` Alan Schmitt

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=CA+M2ft9sLWWK84G76DZKRveVx4+NGg_+zo2R4pUDE1wFCRUmgA@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=alan.schmitt@polytechnique.org \
    --cc=emacs-orgmode@gnu.org \
    /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).