From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: "Recent items" Agenda view? Date: Fri, 11 Oct 2013 13:35:40 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUjR2-0004uh-6c for emacs-orgmode@gnu.org; Fri, 11 Oct 2013 16:35:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VUjR0-0007Hi-NP for emacs-orgmode@gnu.org; Fri, 11 Oct 2013 16:35:44 -0400 Received: from mail-we0-x22c.google.com ([2a00:1450:400c:c03::22c]:58183) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUjR0-0007HO-81 for emacs-orgmode@gnu.org; Fri, 11 Oct 2013 16:35:42 -0400 Received: by mail-we0-f172.google.com with SMTP id q58so4805290wes.31 for ; Fri, 11 Oct 2013 13:35:40 -0700 (PDT) In-Reply-To: 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: Martin Beck Cc: emacs-orgmode@gnu.org On 10/11/13, Martin Beck wrote: > I'm often having the problem that I want to quickly attach an information > to > an item I've created or I've been working on during the last days and then > have to invoke a keyword search. > > How could I create an agenda with a list of headlines which have any > timestamp in the last 7 days (as they were created, clocked, changed their > status etc.?), sorted by the most recent timestamp? > > Thanks a lot, > kind regards > > Martin Something like this: (setq org-agenda-inactive-leader "Inactive: ") (setq org-agenda-include-inactive-timestamps t) Custom command: ("ip" "past 7d" ;; faster than tags agenda "" ((org-agenda-start-day "-7d") (org-agenda-span 7) (org-agenda-repeating-timestamp-show-all nil) ;; %s is only for agenda views ;; (org-agenda-prefix-format "%s") ;; maybe not make much difference ka ;; (org-agenda-use-tag-inheritance nil) )) === Samuel -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. ANYBODY can get it. Denmark: free Karina Hansen NOW.