emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Arne <freyberger.arne@cox.net>
To: emacs-orgmode@gnu.org
Subject: before first heading  and nil-type agenda
Date: Thu, 13 Nov 2008 02:58:46 +0000 (UTC)	[thread overview]
Message-ID: <loom.20081113T024551-347@post.gmane.org> (raw)

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. 

             reply	other threads:[~2008-11-13  2:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-13  2:58 Arne [this message]
2008-11-13  9:18 ` before first heading and nil-type agenda Carsten Dominik

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=loom.20081113T024551-347@post.gmane.org \
    --to=freyberger.arne@cox.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).