emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Error in org-agenda-get-deadlines
Date: Sat, 25 Jan 2014 19:43:21 +0100	[thread overview]
Message-ID: <87wqhngawm.fsf@gmail.com> (raw)
In-Reply-To: 871tzv3oem.fsf@gmail.com

Thorsten Jolitz <tjolitz@gmail.com> writes:

> Bastien <bzg@gnu.org> writes:

>> I can't reproduce this, maybe you can bissect your config
>> and see what's wrong there?
>
> Ok, thanks, I did that and as I thought the problem was in my init file:
>
> ,--------------------------------------------------------------
> | (setq org-todo-keywords
> |       (quote ((sequence "TODO(t)" "NEXT(n)" "|" "DONE(d!/!)")
> |               (sequence ; <= undefined
> |                (concat
> |                 "WAITING(w@/!)" "HOLD(h@/!)"
> |                 "|" "CANCELLED(c@/!)" "PHONE")))))
> `--------------------------------------------------------------
>
> I had that in my old init-file, but have no idea where that `sequence'
> function was defined - somehow it worked.

Now I had a look at 'org-todo-keywords' and found the real culprit:

,------------------------------------------------------------------------
| org-todo-keywords is a variable defined in `org.el'.
| Its value is
| ((sequence "TODO(t)" "NEXT(n)" "|" "DONE(d!/!)")
|  (sequence "WAITING(w@/!)" "HOLD(h@/!)" "|" "CANCELLED(c@/!)" "PHONE"))
| 
| Original value was 
| ((sequence "TODO" "DONE"))
| 
| 
| Documentation:
| List of TODO entry keyword sequences and their interpretation.
| This is a list of sequences.
| 
| Each sequence starts with a symbol, either `sequence' or `type',
`------------------------------------------------------------------------

It was ok or even required to start each sequence of keyword with symbol
'sequence, but using function `concat' in the sequence definition caused
the error.

-- 
cheers,
Thorsten

      reply	other threads:[~2014-01-25 18:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-25 12:41 Error in org-agenda-get-deadlines Thorsten Jolitz
2014-01-25 12:48 ` Thorsten Jolitz
2014-01-25 13:51 ` Bastien
2014-01-25 18:30   ` Thorsten Jolitz
2014-01-25 18:43     ` Thorsten Jolitz [this message]

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=87wqhngawm.fsf@gmail.com \
    --to=tjolitz@gmail.com \
    --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).