From mboxrd@z Thu Jan 1 00:00:00 1970 From: mediapathic steen Subject: Custom agenda search with variable? Date: Thu, 1 Mar 2018 18:33:06 -0800 Message-ID: <182B2859-744C-449D-91BE-FB81291332A4@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eraVX-0000uO-SZ for emacs-orgmode@gnu.org; Thu, 01 Mar 2018 21:33:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eraVT-0001Hc-04 for emacs-orgmode@gnu.org; Thu, 01 Mar 2018 21:33:15 -0500 Received: from mail-pf0-x22f.google.com ([2607:f8b0:400e:c00::22f]:40837) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eraVS-0001H7-PX for emacs-orgmode@gnu.org; Thu, 01 Mar 2018 21:33:10 -0500 Received: by mail-pf0-x22f.google.com with SMTP id x1so1466575pfh.7 for ; Thu, 01 Mar 2018 18:33:10 -0800 (PST) Received: from [10.33.74.96] (99-8-185-122.lightspeed.snfcca.sbcglobal.net. [99.8.185.122]) by smtp.gmail.com with ESMTPSA id 184sm9511264pfd.156.2018.03.01.18.33.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Mar 2018 18:33:08 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: org-mode-email I have a project named "clocks", and thus everything related to it = across multiple files is tagged that.=20 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.)=20 Thanks, -- Steen=20=