emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: creating the agenda gives "Arithmetic error" [8.2.6 (release_8.2.6-1034-g995808 @ /home/grfz/src/org-mode/lisp/)]
@ 2014-05-24  9:18 Gregor Zattler
  2014-05-24  9:26 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Gregor Zattler @ 2014-05-24  9:18 UTC (permalink / raw)
  To: emacs-orgmode


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

     http://orgmode.org/manual/Feedback.html#Feedback

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 <bzg@altern.org>
Date:   Fri May 23 15:54:50 2014 +0200

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


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 24.4.50.1 (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 @ /home/grfz/src/org-mode/lisp/)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug: creating the agenda gives "Arithmetic error" [8.2.6 (release_8.2.6-1034-g995808 @ /home/grfz/src/org-mode/lisp/)]
  2014-05-24  9:18 Bug: creating the agenda gives "Arithmetic error" [8.2.6 (release_8.2.6-1034-g995808 @ /home/grfz/src/org-mode/lisp/)] Gregor Zattler
@ 2014-05-24  9:26 ` Bastien
  2014-05-24 10:41   ` Gregor Zattler
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2014-05-24  9:26 UTC (permalink / raw)
  To: Gregor Zattler; +Cc: emacs-orgmode

Hi Gregor,

Gregor Zattler <telegraph@gmx.net> writes:

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

Fixed, thanks!

-- 
 Bastien

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug: creating the agenda gives "Arithmetic error" [8.2.6 (release_8.2.6-1034-g995808 @ /home/grfz/src/org-mode/lisp/)]
  2014-05-24  9:26 ` Bastien
@ 2014-05-24 10:41   ` Gregor Zattler
  0 siblings, 0 replies; 3+ messages in thread
From: Gregor Zattler @ 2014-05-24 10:41 UTC (permalink / raw)
  To: emacs-orgmode

Hi Bastien,
* Bastien <bzg@gnu.org> [24. May. 2014]:
> Gregor Zattler <telegraph@gmx.net> writes:
> 
>> I cannnot create an agenda due to a erroneous stats cookie in a
>> headline of an org file:
> 
> Fixed, thanks!

Thanks for this ultra quick fix!

Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-24 10:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-24  9:18 Bug: creating the agenda gives "Arithmetic error" [8.2.6 (release_8.2.6-1034-g995808 @ /home/grfz/src/org-mode/lisp/)] Gregor Zattler
2014-05-24  9:26 ` Bastien
2014-05-24 10:41   ` Gregor Zattler

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).