Re: [O] Recent items Agenda view?

2013-10-14 Thread Martin Beck
Eric S Fraga e.fraga at ucl.ac.uk writes:

 
 Martin Beck elwood151 at web.de writes:
 
  Hi,
 
  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?
 
 I don't know how to do this in an agenda view (although I'm sure, given
 that we are talking about org, that it is possible  but you can use a
 sparse view (org-sparse-tree, C-c /) to get what you want for any given
 file.
 
 I found I needed to change the default date option to all timestamps
 in the menu that comes up with org-sparse-tree to get the kind of output
 I think you want.


Thanks - great to know about that very useful possibility! I've not been
working with sparse trees yet, but I'll certainly do more often now.

For my purpose I would have to jump to the right org-file first (I have many
of them), so Samuel's Agenda solution below fits better.

Martin





[O] Recent items Agenda view?

2013-10-11 Thread Martin Beck
Hi,

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





Re: [O] Recent items Agenda view?

2013-10-11 Thread Eric S Fraga
Martin Beck elwood...@web.de writes:

 Hi,

 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?

I don't know how to do this in an agenda view (although I'm sure, given
that we are talking about org, that it is possible :-) but you can use a
sparse view (org-sparse-tree, C-c /) to get what you want for any given
file.

I found I needed to change the default date option to all timestamps
in the menu that comes up with org-sparse-tree to get the kind of output
I think you want.
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.2.1-86-gbe3dad




Re: [O] Recent items Agenda view?

2013-10-11 Thread Samuel Wales
On 10/11/13, Martin Beck elwood...@web.de 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.