emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vladi Solutka <mmlists@eml.cc>
To: emacs-orgmode@gnu.org
Subject: Re: Overview of agenda files
Date: Sun, 28 Sep 2008 20:39:55 +0000 (UTC)	[thread overview]
Message-ID: <loom.20080928T201731-346@post.gmane.org> (raw)
In-Reply-To: B1645AFA-2E62-45A8-83BA-7C6A3D6A15F8@uva.nl

Hi!

Carsten Dominik <dominik <at> uva.nl> writes:

> > All I currently miss is the possibility to have a top overview of my
> > projects, listing the count of the different keywords (since each
> > project has its own file, this would be in fact an overview of my
> > agenda files). 

[...]

> There is nothing built-in to make something like this, but using  
> dynamic blocks and the entry mapper, it can be implemented compactly.
> 
> Load the following code, in .emacs or so....

[...]

Wow, thanks alot :-) I thought about writing an external script since
I don't really know too much about lisp, but I definitely prefer a 
'native' solution. Unfortunately I get a 

Lisp error: (void-variable my-count-todo-states-internal)

Stack trace:
(lambda nil my-count-todo-states-internal)()
 org-scan-tags(my-count-todo-states-internal t)
 org-map-entries(my-count-todo-states-internal nil agenda :name
"count-todo-states" :states ("TODO" "WAIT" "LATER") :content #("\n" 0 1
(fontified t)))
 apply(org-map-entries my-count-todo-states-internal nil agenda (:name
"count-todo-states" :states ("TODO" "WAIT" "LATER") :content #("\n" 0 1
(fontified t))))
 org-dblock-write:count-todo-states((:name "count-todo-states" :states ("TODO"
"WAIT" "LATER") :content #("\n" 0 1 (fontified t))))


I had a look into the code but got somewhat lost, sorry ... :-|
(BTW currently I use emacs 22.3 on windows).

> I have made the file names links,
> I am not sure what you mean by making links of the counts.....

I thought about making the count numbers links that automagically 
open the corresponding file and execute a sparse todo-tree command; 
this would help to ie quickly view all my 'WAITING' entries (complete 
w/ context) of a specific project. 

I was also hoping the be able to (a) differentiate in the 
overview between scheduled and unscheduled (kind of 'open') entries and 
(b) to open sparse trees only showing these unscheduled entries (see my 
other post "custom commands 'todo-tree' and org-agenda-skip-function").

Anyway, thanks very much for all your effort!

--- \\/ladi

  reply	other threads:[~2008-09-28 20:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-24 11:28 Overview of agenda files Vladi Solutka
2008-09-26 16:10 ` Carsten Dominik
2008-09-28 20:39   ` Vladi Solutka [this message]
2008-09-29  3:09     ` Manish
2008-09-29  5:51       ` Carsten Dominik
2008-10-01 17:01         ` Vladi Solutka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20080928T201731-346@post.gmane.org \
    --to=mmlists@eml.cc \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).