[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] before first heading and nil-type agenda
From: |
Arne |
Subject: |
[Orgmode] before first heading and nil-type agenda |
Date: |
Thu, 13 Nov 2008 02:58:46 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
I was having trouble getting a complete week view agenda and the left arrow and
right arrow would not move the agenda to subsequent weeks (the error displayed
would be "nil-type agenda"). The error in the Messages buffer was
"org-back-to-heading: before first heading". After some digging in my files I
tracked it down to a malformed heading:
The following causes nil-type agenda, or before first heading errors:
- *My heading
This is what fixes it, note the space after the "*"
- * My heading
I post this in case other users are struggling with the same issues and are
looking for a fix.
Since anyline that start with one or more "*" should have a space before the
first character, the org code could automatically fix or prompt the user to
fix/warn of lines that are missing the space. I am not a lisp programmer, so
I apologize for not jumping in and coding the solution.
- [Orgmode] before first heading and nil-type agenda,
Arne <=