* "Recent items" Agenda view?
@ 2013-10-11 7:14 Martin Beck
2013-10-11 15:36 ` Eric S Fraga
2013-10-11 20:35 ` Samuel Wales
0 siblings, 2 replies; 5+ messages in thread
From: Martin Beck @ 2013-10-11 7:14 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: "Recent items" Agenda view?
2013-10-11 7:14 "Recent items" Agenda view? Martin Beck
@ 2013-10-11 15:36 ` Eric S Fraga
2013-10-14 8:43 ` Martin Beck
2013-10-11 20:35 ` Samuel Wales
1 sibling, 1 reply; 5+ messages in thread
From: Eric S Fraga @ 2013-10-11 15:36 UTC (permalink / raw)
To: Martin Beck; +Cc: emacs-orgmode
Martin Beck <elwood151@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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: "Recent items" Agenda view?
2013-10-11 7:14 "Recent items" Agenda view? Martin Beck
2013-10-11 15:36 ` Eric S Fraga
@ 2013-10-11 20:35 ` Samuel Wales
2013-10-14 8:46 ` (no subject) Martin Beck
1 sibling, 1 reply; 5+ messages in thread
From: Samuel Wales @ 2013-10-11 20:35 UTC (permalink / raw)
To: Martin Beck; +Cc: emacs-orgmode
On 10/11/13, Martin Beck <elwood151@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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: "Recent items" Agenda view?
2013-10-11 15:36 ` Eric S Fraga
@ 2013-10-14 8:43 ` Martin Beck
0 siblings, 0 replies; 5+ messages in thread
From: Martin Beck @ 2013-10-14 8:43 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: (no subject)
2013-10-11 20:35 ` Samuel Wales
@ 2013-10-14 8:46 ` Martin Beck
0 siblings, 0 replies; 5+ messages in thread
From: Martin Beck @ 2013-10-14 8:46 UTC (permalink / raw)
To: emacs-orgmode
Samuel Wales <samologist <at> gmail.com> writes:
> (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
>
great - thanks a lot. I'll test that for some time, but it seems to do what
I need.
Just the list created is very long.
Would it be possible to limit it to inactive timestamps only?
Martin
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-10-14 8:50 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-11 7:14 "Recent items" Agenda view? Martin Beck
2013-10-11 15:36 ` Eric S Fraga
2013-10-14 8:43 ` Martin Beck
2013-10-11 20:35 ` Samuel Wales
2013-10-14 8:46 ` (no subject) Martin Beck
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).