emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Adding tags, grouping tags


From: Karl Maihofer
Subject: [Orgmode] Adding tags, grouping tags
Date: Thu, 14 Oct 2010 20:22:43 +0200
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2

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 via email to

[Prev in Thread] Current Thread [Next in Thread]