Re: [Orgmode] bug: clock in/out from agenda throws error (release_6.31.35.g7ce8)

2009-10-07 Thread Stephan Schmitt
thx! for both fix and explanation

Stephan

Carsten Dominik wrote:
> Hi Stephan,
> 
> On Oct 7, 2009, at 10:25 AM, Stephan Schmitt wrote:
> 
>> Hello Carsten,
>>
>> when I clock in/out from the agenda (using I/O) the function
>> 'org-format-agenda-item' is called with a non-nil 'noprefix'
>> argument.  This leads to an error because the variable
>> 'thecategory' is nil in line 4610 of file org-agenda.el.
>>
>> I would supply a patch if I understood the meaning of the
>> 'noprefix' flag.
> 
> This flag means that the agenda prefix should not be recomputed, only
> the text related to the headline.  So the category is really unimportant
> in this context, and this bug came in when I recently implemented special
> formatting for the case that the category is a link.
> 
> I have fixed this bug, thanks.!
> 
> - Carsten
> 
>>
>> Thanks,
>> Stephan
>>
>> Emacs  : GNU Emacs 22.3.1 (i686-pc-linux-gnu, GTK+ Version 2.16.6)
>> of 2009-10-06
>> Package: Org-mode version 6.31trans (release_6.31.35.g7ce8)
>>
>>
>> ___
>> 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
> 
> 

-- 



Stephan Schmitt

Neural Information Processing Group
Fac. IV - Electrical Engineering
& Computer Science
Berlin University of Technology

Office: +49 30 - 314 24 158
Mobile: +49 179 - 593 84 48
Email:
  echo 'drmabuse at cs x tu-berlin x de' \
  | sed -e 's/ x /\./g' -e 's/ at /@/'




___
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] bug: clock in/out from agenda throws error (release_6.31.35.g7ce8)

2009-10-07 Thread Carsten Dominik

Hi Stephan,

On Oct 7, 2009, at 10:25 AM, Stephan Schmitt wrote:


Hello Carsten,

when I clock in/out from the agenda (using I/O) the function
'org-format-agenda-item' is called with a non-nil 'noprefix'
argument.  This leads to an error because the variable
'thecategory' is nil in line 4610 of file org-agenda.el.

I would supply a patch if I understood the meaning of the
'noprefix' flag.


This flag means that the agenda prefix should not be recomputed, only
the text related to the headline.  So the category is really unimportant
in this context, and this bug came in when I recently implemented  
special

formatting for the case that the category is a link.

I have fixed this bug, thanks.!

- Carsten



Thanks,
Stephan

Emacs  : GNU Emacs 22.3.1 (i686-pc-linux-gnu, GTK+ Version 2.16.6)
of 2009-10-06
Package: Org-mode version 6.31trans (release_6.31.35.g7ce8)


___
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


[Orgmode] bug: clock in/out from agenda throws error (release_6.31.35.g7ce8)

2009-10-07 Thread Stephan Schmitt
Hello Carsten,

when I clock in/out from the agenda (using I/O) the function
'org-format-agenda-item' is called with a non-nil 'noprefix'
argument.  This leads to an error because the variable
'thecategory' is nil in line 4610 of file org-agenda.el.

I would supply a patch if I understood the meaning of the
'noprefix' flag.

Thanks,
Stephan

Emacs  : GNU Emacs 22.3.1 (i686-pc-linux-gnu, GTK+ Version 2.16.6)
 of 2009-10-06
Package: Org-mode version 6.31trans (release_6.31.35.g7ce8)


___
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