emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Agenda bug
@ 2018-03-06 16:23 Robert Horn
  2018-03-06 17:28 ` Eric S Fraga
  2018-03-11 22:13 ` Nicolas Goaziou
  0 siblings, 2 replies; 8+ messages in thread
From: Robert Horn @ 2018-03-06 16:23 UTC (permalink / raw)
  To: Org Mode List


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

^ permalink raw reply	[flat|nested] 8+ messages in thread
* agenda bug
@ 2011-04-19 22:36 Nicholas Putnam
  2011-04-19 22:47 ` Nick Dokos
  2011-04-20  0:15 ` Memnon Anon
  0 siblings, 2 replies; 8+ messages in thread
From: Nicholas Putnam @ 2011-04-19 22:36 UTC (permalink / raw)
  To: Emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 471 bytes --]

I get a strange error message when trying to view the agenda for the current
day/week with C-c a a :

org-agenda-highlight-todo: Args out of range: #("  diary:      " 0 14
(org-category "diary" tags nil org-highest-priority 65 org-lowest-priority
67 time-of-day nil ...)), 26, 30

I can make it go away by deleting the following from the end of one of my
agenda files, or changing the date + or - one day.

** <2011-04-19 Tue>

Why would this break the agenda view?

Nik

[-- Attachment #2: Type: text/html, Size: 546 bytes --]

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

end of thread, other threads:[~2018-03-14 13:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-06 16:23 Agenda bug Robert Horn
2018-03-06 17:28 ` 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

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