emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Error about TODO sequence states with 6.09 on Emacs 22.1.1
@ 2008-10-10  9:50 Daniel Clemente
  2008-10-10 12:42 ` Bernt Hansen
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Clemente @ 2008-10-10  9:50 UTC (permalink / raw)
  To: emacs-orgmode



  Hi, I'm seeing a problem with TODO states in the latest org-mode version.


.emacs file to reproduce the bug::

---------
(add-to-list 'load-path "~/.emacs.d/org-6.09")
(require 'org)

 (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
 (define-key global-map "\C-ca" 'org-agenda)

(setq org-agenda-files (quote ("/tmp/test.org")))

(setq debug-on-error t)

(setq org-todo-keywords
      '( (sequence "START(s)" "|" "ENDED(e)")
         (sequence "TODO(t)" "|" "DONE(d)")) )
---------


The file /tmp/test.org must exist, but its content doesn't matter; it can be empty.


Sequence to reproduce the bug:

1. open emacs
2. C-c a a
3. You get this error:

Debugger entered--Lisp error: (wrong-type-argument stringp (sequence "START(s)" "|" "ENDED(e)"))
  regexp-quote((sequence "START(s)" "|" "ENDED(e)"))
  mapconcat(regexp-quote ((sequence "START(s)" "|" "ENDED(e)") (sequence "TODO(t)" "|" "DONE(d)")) "\\|")
  org-set-regexps-and-options()
  org-mode()
  set-auto-mode-0(org-mode nil)
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer test.org> "/tmp/test.org" nil nil "/home/tmp/test.org" (1391618 65024))
  find-file-noselect("/tmp/test.org")
  org-get-agenda-file-buffer("/tmp/test.org")
  org-prepare-agenda-buffers(("/tmp/test.org"))
  org-prepare-agenda()
  org-agenda-list(nil)
  call-interactively(org-agenda-list)
  byte-code(.....trimmed....)
  org-agenda(nil)
  call-interactively(org-agenda)


Versions:
GNU Emacs 22.1.1 (i486-pc-linux-gnu, GTK+ Version 2.12.9) of 2008-05-03 on terranova, modified by Ubuntu
org-mode 6.09



Thanks,

Daniel

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

* Re: Error about TODO sequence states with 6.09 on Emacs 22.1.1
  2008-10-10  9:50 Error about TODO sequence states with 6.09 on Emacs 22.1.1 Daniel Clemente
@ 2008-10-10 12:42 ` Bernt Hansen
  2008-10-10 13:22   ` Daniel Clemente
  0 siblings, 1 reply; 3+ messages in thread
From: Bernt Hansen @ 2008-10-10 12:42 UTC (permalink / raw)
  To: Daniel Clemente; +Cc: emacs-orgmode

Daniel Clemente <n142857@gmail.com> writes:

>   Hi, I'm seeing a problem with TODO states in the latest org-mode version.
>
>
> .emacs file to reproduce the bug::
>
> ---------
> (add-to-list 'load-path "~/.emacs.d/org-6.09")
> (require 'org)
>
>  (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
>  (define-key global-map "\C-ca" 'org-agenda)
>
> (setq org-agenda-files (quote ("/tmp/test.org")))
>
> (setq debug-on-error t)
>
> (setq org-todo-keywords
>       '( (sequence "START(s)" "|" "ENDED(e)")
>          (sequence "TODO(t)" "|" "DONE(d)")) )
> ---------
>
>
> The file /tmp/test.org must exist, but its content doesn't matter; it can be empty.
>

Hi Daniel,

I get that error with the default org version which is 4.67 for me.  If
I change your .emacs to use my git sources it works.

,----
| (add-to-list 'load-path "~/git/org-mode/lisp")
`----

Are you sure you're using the latest org version?

-Bernt

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

* Re: Error about TODO sequence states with 6.09 on Emacs 22.1.1
  2008-10-10 12:42 ` Bernt Hansen
@ 2008-10-10 13:22   ` Daniel Clemente
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Clemente @ 2008-10-10 13:22 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode

Bernt Hansen <bernt@norang.ca> writes:

>
> Are you sure you're using the latest org version?
>

  No. My emacs was using the default org version because my loading sequence was wrong. I changed it to:

(add-to-list 'load-path "~/.emacs.d/org-6.09/lisp")
(require 'org-install)

  instead of:

(add-to-list 'load-path "~/.emacs.d/org-6.09")
(require 'org)

  And it works very well.

  I thought that it would be (require 'org) like in other packages. In fact the problem was that I tried 'org and it WORKED more or less... but it was the old version.

  Thanks for pointing to the problem.


Daniel

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

end of thread, other threads:[~2008-10-10 13:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-10  9:50 Error about TODO sequence states with 6.09 on Emacs 22.1.1 Daniel Clemente
2008-10-10 12:42 ` Bernt Hansen
2008-10-10 13:22   ` Daniel Clemente

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