From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Custom agenda: search by tag and exclude DONE items Date: Sun, 9 Dec 2012 16:14:43 +0100 Message-ID: <2012-12-09T16-05-45@devnull.Karl-Voit.at> Reply-To: news1142@Karl-Voit.at Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Thiap-0007MB-UK for emacs-orgmode@gnu.org; Sun, 09 Dec 2012 10:15:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Thiao-00080m-Vc for emacs-orgmode@gnu.org; Sun, 09 Dec 2012 10:14:59 -0500 Received: from plane.gmane.org ([80.91.229.3]:59983) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Thiao-00080g-Ot for emacs-orgmode@gnu.org; Sun, 09 Dec 2012 10:14:58 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Thiaw-0005A7-Vt for emacs-orgmode@gnu.org; Sun, 09 Dec 2012 16:15:06 +0100 Received: from mail.michael-prokop.at ([88.198.6.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Dec 2012 16:15:06 +0100 Received: from news1142 by mail.michael-prokop.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Dec 2012 16:15:06 +0100 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi! I want a custom agenda that lists all headings (not necessarily with a state like TODO or NEXT) which are tagged with :borrowed: but which are not in state DONE or CANCELED. Should match: * this item :borrowed: <- no state! * WAITING another item :borrowed: * TODO some item :borrowed: Should *not* match: * test item 1 :foo: * DONE returned item :borrowed: * CANCELED aborted :borrowed: With «"cB" "borrowed" tags "+borrowed"» I do get DONE-entries as well. With «"cB" "borrowed" tags-todo "..."» I do think I need any state like TODO or NEXT which I do not want as a requirement. Do you have an idea on how I can achieve this? Thanks! -- Karl Voit