From: Noorul Islam K M <noorul@noorul.com>
To: Karl Maihofer <ignoramus@gmx.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Adding tags, grouping tags
Date: Fri, 15 Oct 2010 11:25:32 +0530 [thread overview]
Message-ID: <87k4lk57aj.fsf@noorul.maa.corp.collab.net> (raw)
In-Reply-To: <4CB74A73.2090202@gmx.de> (Karl Maihofer's message of "Thu, 14 Oct 2010 20:22:43 +0200")
Karl Maihofer <ignoramus@gmx.de> writes:
> 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?
>
I have something like this shamelessly copied from Bernt's doc.
(setq org-tag-alist (quote ((:startgroup)
("@errand" . ?e)
("@office" . ?o)
("@home" . ?h)
(:endgroup)
("PHONE" . ?p)
("NEXT" . ?n)
("WAITING" . ?w)
("HOME" . ?H)
("ORG" . ?O))))
Thanks and Regards
Noorul
next prev parent reply other threads:[~2010-10-15 5:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-14 18:22 Adding tags, grouping tags Karl Maihofer
2010-10-15 5:55 ` Noorul Islam K M [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k4lk57aj.fsf@noorul.maa.corp.collab.net \
--to=noorul@noorul.com \
--cc=emacs-orgmode@gnu.org \
--cc=ignoramus@gmx.de \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.