From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: custom agenda view not possible? Date: Tue, 28 Apr 2015 10:29:14 +0200 Message-ID: <86r3r4y7tx.fsf@example.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Traycer Bullet wrote: > This doesn't work because tags-todo excludes 'DONE' status tasks: > (add-to-list 'org-agenda-custom-commands > '("J" "Completed Recently" tags-todo "CLOSED>=\"<-2d>\"")) Use `tags' instead of `tags-todo': --8<---------------cut here---------------start------------->8--- (add-to-list 'org-agenda-custom-commands '("J" "Completed Recently" ((tags "CLOSED>=\"<-2d>\""))) t) --8<---------------cut here---------------end--------------->8--- Best regards, Seb -- Sebastien Vauban