emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: mediapathic steen <mediapathic@gmail.com>
To: org-mode-email <emacs-orgmode@gnu.org>
Subject: Custom agenda search with variable?
Date: Thu, 1 Mar 2018 18:33:06 -0800	[thread overview]
Message-ID: <182B2859-744C-449D-91BE-FB81291332A4@gmail.com> (raw)

I have a project named "clocks", and thus everything related to it across multiple files is tagged that. 

I have a custom agenda search that looks like

 ("C" "Clocks"
               ((agenda "" nil)
                (tags-todo "clocks/NEXT|DRAFT"
                           ((org-agenda-overriding-header "Next")))
                (tags-todo "clocks/TODO"
                           ((org-agenda-overriding-header "Todo")))
                (tags-todo "clocks/WAITING"
                           ((org-agenda-overriding-header "Waiting")))
                (tags-todo "clocks/RESEARCH"
                           ((org-agenda-overriding-header "Research")))
              ))

This same basic setup is something I want to be able to see for several projects. What I would like to do is have essentially this search, but in a form wherein I am queried for the project name (in reality, just a tag), and it gives me this search for that tag. Is there any reasonable way to do that? I've looked through the custom agenda views section on worg and didn't find anything that looked related.

(For anyone curious, I'm a writer, and "Clocks" is a novel. I'd like to be able to see a focused and sorted view like this for every piece I'm working on at any given moment.) 

Thanks,
-- Steen 

                 reply	other threads:[~2018-03-02  2:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=182B2859-744C-449D-91BE-FB81291332A4@gmail.com \
    --to=mediapathic@gmail.com \
    --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).