From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: bug: clock in/out from agenda throws error (release_6.31.35.g7ce8) Date: Wed, 7 Oct 2009 10:35:00 +0200 Message-ID: <6CE74B6D-581B-4496-BD2E-F2CA41B3B63B@gmail.com> References: <4ACC5070.2020304@cs.tu-berlin.de> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MvRzJ-0001mf-Ob for emacs-orgmode@gnu.org; Wed, 07 Oct 2009 04:35:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MvRzF-0001iH-4H for emacs-orgmode@gnu.org; Wed, 07 Oct 2009 04:35:09 -0400 Received: from [199.232.76.173] (port=43960 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvRzE-0001i9-TS for emacs-orgmode@gnu.org; Wed, 07 Oct 2009 04:35:04 -0400 Received: from mail-ew0-f223.google.com ([209.85.219.223]:63421) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MvRzE-0005VE-Hz for emacs-orgmode@gnu.org; Wed, 07 Oct 2009 04:35:04 -0400 Received: by ewy23 with SMTP id 23so5113593ewy.2 for ; Wed, 07 Oct 2009 01:35:03 -0700 (PDT) In-Reply-To: <4ACC5070.2020304@cs.tu-berlin.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Stephan Schmitt Cc: emacs-orgmode@gnu.org 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