From: Stephan Schmitt <drmabuse@cs.tu-berlin.de>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: bug: clock in/out from agenda throws error (release_6.31.35.g7ce8)
Date: Wed, 07 Oct 2009 12:04:08 +0200 [thread overview]
Message-ID: <4ACC6798.2030306@cs.tu-berlin.de> (raw)
In-Reply-To: <6CE74B6D-581B-4496-BD2E-F2CA41B3B63B@gmail.com>
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 /@/'
--------------------------------------------
prev parent reply other threads:[~2009-10-07 10:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-07 8:25 bug: clock in/out from agenda throws error (release_6.31.35.g7ce8) Stephan Schmitt
2009-10-07 8:35 ` Carsten Dominik
2009-10-07 10:04 ` Stephan Schmitt [this message]
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=4ACC6798.2030306@cs.tu-berlin.de \
--to=drmabuse@cs.tu-berlin.de \
--cc=carsten.dominik@gmail.com \
--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).