From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Per command org-agenda-prefix-format Date: Wed, 07 Oct 2015 14:52:24 -0400 Message-ID: <87y4fea4uv.fsf@alphaville.usersys.redhat.com> References: <20151007152450.GA20502@chitra.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60149) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjtpP-0001tJ-HG for emacs-orgmode@gnu.org; Wed, 07 Oct 2015 14:52:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZjtpM-00020G-Ab for emacs-orgmode@gnu.org; Wed, 07 Oct 2015 14:52:39 -0400 Received: from plane.gmane.org ([80.91.229.3]:60617) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjtpL-0001ze-Vf for emacs-orgmode@gnu.org; Wed, 07 Oct 2015 14:52:36 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZjtpI-0004jP-VU for emacs-orgmode@gnu.org; Wed, 07 Oct 2015 20:52:33 +0200 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Oct 2015 20:52:32 +0200 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Oct 2015 20:52:32 +0200 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 Suvayu Ali writes: > Hi, > > I wanted to prefix the results of a tags-todo agenda command with > scheduling information. But I can't seem to figure out the correct way > to do this. This is what I tried: > > (setq org-agenda-custom-commands > '(("J" "Type1/Type2" > ((tags-todo "CATEGORY=\"foo\"+type1" > ((org-agenda-overriding-header "Type1"))) > (tags-todo "CATEGORY=\"foo\"+type2" > ((org-agenda-overriding-header "Type2")))) > ((org-agenda-files (list "~/tmp/org/tasks.org")) > (org-agenda-prefix-format " % s") org-agenda-prefix-format is an alist, not a string. Nick