From: Gregor Zattler <telegraph@gmx.net>
To: emacs-orgmode@gnu.org
Subject: 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 [thread overview]
Message-ID: <8738fz1qm8.fsf@boo.workgroup> (raw)
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/)
next reply other threads:[~2014-05-24 9:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-24 9:18 Gregor Zattler [this message]
2014-05-24 9:26 ` Bug: creating the agenda gives "Arithmetic error" [8.2.6 (release_8.2.6-1034-g995808 @ /home/grfz/src/org-mode/lisp/)] Bastien
2014-05-24 10:41 ` Gregor Zattler
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=8738fz1qm8.fsf@boo.workgroup \
--to=telegraph@gmx.net \
--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).