emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Robert Horn <rjhorn@alum.mit.edu>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: Agenda bug
Date: Tue, 06 Mar 2018 11:23:58 -0500	[thread overview]
Message-ID: <m34lltxjdt.fsf@alum.mit.edu> (raw)


I discovered that the lines ( the body of a headline):
*** real headline
       * example
       :SCHEDULED: <times>

cause agenda processing to fail.  It tries to parse <times> as a
timestamp.  The parser used by agenda appears not to enforce the
requirement that headlines begin with asterisks on the left margin.

Removing either the leading colon or the asterisk on example fixes the
problem.

Regular display parsing does not get confused.  The highlighting and
font changes do not consider the "   * example" to be a headline.

-- 
Robert Horn
rjhorn@alum.mit.edu

             reply	other threads:[~2018-03-06 16:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-06 16:23 Robert Horn [this message]
2018-03-06 17:28 ` Agenda bug Eric S Fraga
2018-03-06 20:23   ` Robert Horn
2018-03-11 22:13 ` Nicolas Goaziou
2018-03-14 13:14   ` Robert Horn
  -- strict thread matches above, loose matches on Subject: below --
2011-04-19 22:36 agenda bug Nicholas Putnam
2011-04-19 22:47 ` Nick Dokos
2011-04-20  0:15 ` Memnon Anon

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=m34lltxjdt.fsf@alum.mit.edu \
    --to=rjhorn@alum.mit.edu \
    --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).