From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephan Schmitt Subject: Re: bug: clock in/out from agenda throws error (release_6.31.35.g7ce8) Date: Wed, 07 Oct 2009 12:04:08 +0200 Message-ID: <4ACC6798.2030306@cs.tu-berlin.de> References: <4ACC5070.2020304@cs.tu-berlin.de> <6CE74B6D-581B-4496-BD2E-F2CA41B3B63B@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MvTO6-0007WU-Og for emacs-orgmode@gnu.org; Wed, 07 Oct 2009 06:04:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MvTO2-0007VP-2N for emacs-orgmode@gnu.org; Wed, 07 Oct 2009 06:04:50 -0400 Received: from [199.232.76.173] (port=35160 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvTO1-0007VM-TT for emacs-orgmode@gnu.org; Wed, 07 Oct 2009 06:04:45 -0400 Received: from mail.cs.tu-berlin.de ([130.149.17.13]:48523) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MvTO1-0003Tw-Bw for emacs-orgmode@gnu.org; Wed, 07 Oct 2009 06:04:45 -0400 Received: from localhost (localhost [127.0.0.1]) by localhost-12225.cs.tu-berlin.de (Postfix) with ESMTP id 918C82A369 for ; Wed, 7 Oct 2009 12:04:43 +0200 (MEST) In-Reply-To: <6CE74B6D-581B-4496-BD2E-F2CA41B3B63B@gmail.com> 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: Carsten Dominik Cc: emacs-orgmode@gnu.org 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 /@/' --------------------------------------------