Re: [Orgmode] org-clock-find-position confusion (bug?)

2008-09-28 Thread Ethan Blanton
Carsten Dominik spake unto us the following wisdom:
>> org-clock-find-position (6.07b again) displays unexpected behavior
>> when it encounters a clock line preceding a bulleted list.
>> Specifically, when a :CLOCK: drawer is created, the drawer encompasses
>> the first list item.  E.g.:
[snip]
> The reason for this behavior is that Org sometimes records a note when  
> the clock is stopped in an item.  That note is formatted like an item  
> and attached directly to the CLOCK line.  When a drawer is created, this 
> note should go into the drawer.
>
> A work-around would be to leave an empty line before your list, like so:

That is imminently reasonable ... thanks.  :-)

Ethan

-- 
The laws that forbid the carrying of arms are laws [that have no remedy
for evils].  They disarm only those who are neither inclined nor
determined to commit crimes.
-- Cesare Beccaria, "On Crimes and Punishments", 1764


signature.asc
Description: Digital signature
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Overview of agenda files

2008-09-28 Thread Vladi Solutka
Hi!

Carsten Dominik  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






___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Fw: xemacs giving a file mode specification error

2008-09-28 Thread Raghavendra Singh






Hi,
I downloaded the current version of org-mode (6.07b)
XEmacs 21.4 (patch 21) "Educational Television" (cygwin, Mule) of Tue
Dec  4 2007 on vzell-de

I compiled the noutline.el by opening in xemacs and using "byte complie" option.

When i open a .org file in xemacs I get a file mode specification
error: (wrong-number-of-arguments #2)

Please help

Thanks
raghav


  


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] adding up decimal fractions in the spreadsheet

2008-09-28 Thread Manish
  On Sat, Sep 27, 2008 at 6:59 PM, Rainer Thiel wrote:
  > 2008/9/27 Manish :
  >> About not being sure how to access latest Org, FAQ at
  >> http://orgmode.org/worg/org-faq.php might help.
  >
  > Thank you, Manish. Is this lykely to work on a Windows machine with
  > cygwin installed, too?

Yes, I use this on Cygwin.

I just do not do `make install' and add `~/elisp/org-mode.git/lisp'
and `~/elisp/org-mode.git/contrib/lisp' to the load path (for ~ to
work I have HOME defined in Windows user environment variables.)
Updating Org then boils down to: git pull && make clean && make &&
make doc.

HTH,
-- Manish


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Overview of agenda files

2008-09-28 Thread Manish
  On Mon, Sep 29, 2008 at 2:09 AM, Vladi Solutka wrote:
  > Hi!
  >
  > Carsten Dominik 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
  >

FWIW, it worked for me (Thanks Carsten.)  I eval'ed the two functions
and added this to an .org file:

,
| #+BEGIN: count-todo-states :states ("TODO" "APPT" "NEXT" "WAITING" "DONE" )
| #+END: count-todo-states
`

and did a C-c C-c on the lines to get the summary table.

-- Manish


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Overview of agenda files

2008-09-28 Thread Carsten Dominik


On Sep 29, 2008, at 5:09 AM, Manish wrote:


 On Mon, Sep 29, 2008 at 2:09 AM, Vladi Solutka wrote:

Hi!

Carsten Dominik 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



FWIW, it worked for me




Hi Manish, thanks for checking.

It turns out that I had to fix a little bug to make this hack it work,  
obviously you already pulled the latest version before you tried.


So yes, Vladi, you need to either get the git version or wait for the  
6.08 release.


- Carsten


(Thanks Carsten.)  I eval'ed the two functions
and added this to an .org file:

,
| #+BEGIN: count-todo-states :states ("TODO" "APPT" "NEXT" "WAITING"  
"DONE" )

| #+END: count-todo-states
`

and did a C-c C-c on the lines to get the summary table.

-- Manish


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode