emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Karl Maihofer <ignoramus@gmx.de>
To: emacs-orgmode@gnu.org
Subject: Adding tags, grouping tags
Date: Thu, 14 Oct 2010 20:22:43 +0200	[thread overview]
Message-ID: <4CB74A73.2090202@gmx.de> (raw)

I'd like to define many many tags and use numerics (1-0) as selection
keys. I want to define tags for different clients, people, gtd-contexts,
and other contexts. So I had the idea to group the tags (less than ten
tags per group) to be able to define selection keys for every tag.

I already use groups for my custom agenda views (see example below). So
when I hit C-c a, Org only shows the agenda groups (besides the default
agenda commands) and I do not get to the actual agenda commands until I
hit Q. This enables me to use the keys 1, 2, 3, 4 several times for
different agenda commands (in different groups).

Example:

(setq org-agenda-custom-commands
   '(("Q" . "Custom queries") ;; gives label to "Q"
     ("Q1" "Archive search" search ""
      ((org-agenda-files (file-expand-wildcards "~/archive/*.org"))))
     ("Q2" "Website search" search ""
      ((org-agenda-files (file-expand-wildcards "~/website/*.org"))))
     ("Q3" "Projects and Archive" search ""
      ((org-agenda-text-search-extra-files (file-expand-wildcards
"~/archive/*.org"))))
             ;; searches both projects and archive directories
     ("Q4" "Archive tags search" org-tags-view ""
      ((org-agenda-files (file-expand-wildcards "~/archive/*.org"))))
     ;; ...other commands here
      ))

Is something similar possible for adding tags?

             reply	other threads:[~2010-10-14 18:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-14 18:22 Karl Maihofer [this message]
2010-10-15  5:55 ` Adding tags, grouping tags Noorul Islam K M
2010-10-15  8:29   ` Karl Maihofer
2010-10-15  8:35     ` Carsten Dominik
2010-10-15  8:52       ` Karl Maihofer
2010-10-15 14:43         ` Ilya Shlyakhter
2010-10-16  5:32           ` Carsten Dominik
2010-10-16 19:26             ` Robert Horn
2010-10-16 20:09               ` Carsten Dominik

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=4CB74A73.2090202@gmx.de \
    --to=ignoramus@gmx.de \
    --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).