[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Bug: creating the agenda gives "Arithmetic error" [8.2.6 (release_8.

From: Gregor Zattler
Subject: [O] Bug: creating the agenda gives "Arithmetic error" [8.2.6 (release_8.2.6-1034-g995808 @ /home/grfz/src/org-mode/lisp/)]
Date: Sat, 24 May 2014 11:18:55 +0200

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See


Your bug report will be posted to the Org-mode mailing list.

Dear org-mode developers,

I cannnot create an agenda due to a erroneous stats cookie in a
headline of an org file:

If I do C-c a a emacs opens a *Org Agenda* window but it is
empty and the message "Arithmetic Error" appears in the echo
line.  In the  *Message* buffer I'm told:

Press key for agenda command:
if: Arithmetic error

I bisected the repo:

45c4f276f266fc41530128e1069979eb8df50fa2 is the first bad commit
commit 45c4f276f266fc41530128e1069979eb8df50fa2
Author: Bastien Guerry <address@hidden>
Date:   Fri May 23 15:54:50 2014 +0200

    org.el: Implement agenda sorting against stats cookies.  Code

I bisected my org-agenda-files and found a minimal example which
triggers the bug:

******* Some Appointment [0/0]
<2013-09-12 Do 19:00>
- People [6/11]
  - [X] Alice
  - [X] Bob
  - [X] Mallorey
  - [X] A
  - [ ] B
  - [ ] C
  - [X] D
  - [ ] E
  - [X] F
  - [ ] G
  - [ ] H

Note the wrong stats cookie '[0/0]' in the headline.

I'll remove the '[0/0]' but it woukld be nice if org-mode would
report the erroneous stats cookie instead of throwing an
arithmetic error.

Thanks, Gregor

Emacs  : GNU Emacs (i686-pc-linux-gnu, GTK+ Version 3.12.2)
 of 2014-05-23 on boo
Package: Org-mode version 8.2.6 (release_8.2.6-1034-g995808 @ 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]