* org-mode crashes with this stacktrace:
@ 2009-06-10 19:12 Tudor Gabriel
2009-06-11 4:55 ` Carsten Dominik
0 siblings, 1 reply; 7+ messages in thread
From: Tudor Gabriel @ 2009-06-10 19:12 UTC (permalink / raw)
To: emacs-orgmode
I'm trying to learn org-mode.
Each time I try to open agenda buffer, I get that error.
If I can provide any additional info, please, don't hesitate to ask.
Debugger entered--Lisp error: (wrong-type-argument listp "|")
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 hobby.org> "~/org/hobby.org" nil nil
"~/org/hobby.org" (174122 2053))
find-file-noselect("/home/tudor/org/hobby.org")
org-get-agenda-file-buffer("/home/tudor/org/hobby.org")
org-prepare-agenda-buffers(("/home/tudor/org/hobby.org"
"/home/tudor/org/tasks.org" "/home/tudor/org/ardendo.org"
"/home/tudor/org/home.org"))
org-prepare-agenda("Day/Week")
org-agenda-list(nil)
call-interactively(org-agenda-list)
byte-code("Æ\x18 \x1aÇÆÈÉ \"\"\x19p^[ÊË !\x1cÆ\x1d\x1e@Æ\x1eA\x1eBÆ\x1eC\x1eD\x0eE>
org-agenda(nil)
call-interactively(org-agenda nil nil)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: org-mode crashes with this stacktrace:
2009-06-10 19:12 org-mode crashes with this stacktrace: Tudor Gabriel
@ 2009-06-11 4:55 ` Carsten Dominik
2009-06-11 7:11 ` Tudor Gabriel
0 siblings, 1 reply; 7+ messages in thread
From: Carsten Dominik @ 2009-06-11 4:55 UTC (permalink / raw)
To: Tudor Gabriel; +Cc: emacs-orgmode
This must be a problem in your setup, maybe or org-TODO-keywords, maybe
using a bad #+TODO: line in one of the agenda files. Show us you setup!
- Carsten
On Jun 10, 2009, at 9:12 PM, Tudor Gabriel wrote:
> I'm trying to learn org-mode.
> Each time I try to open agenda buffer, I get that error.
>
> If I can provide any additional info, please, don't hesitate to ask.
>
> Debugger entered--Lisp error: (wrong-type-argument listp "|")
> 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 hobby.org> "~/org/hobby.org" nil nil
> "~/org/hobby.org" (174122 2053))
> find-file-noselect("/home/tudor/org/hobby.org")
> org-get-agenda-file-buffer("/home/tudor/org/hobby.org")
> org-prepare-agenda-buffers(("/home/tudor/org/hobby.org"
> "/home/tudor/org/tasks.org" "/home/tudor/org/ardendo.org"
> "/home/tudor/org/home.org"))
> org-prepare-agenda("Day/Week")
> org-agenda-list(nil)
> call-interactively(org-agenda-list)
> byte-code("Æ\x18 \x1aÇÆÈÉ \"\"\x19p^[ÊË !\x1cÆ\x1d\x1e@Æ\x1eA\x1eBÆ\x1eC\x1eD\x0eE>
> org-agenda(nil)
> call-interactively(org-agenda nil nil)
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: org-mode crashes with this stacktrace:
2009-06-11 4:55 ` Carsten Dominik
@ 2009-06-11 7:11 ` Tudor Gabriel
2009-06-11 8:31 ` Carsten Dominik
2009-06-11 13:43 ` Carsten Dominik
0 siblings, 2 replies; 7+ messages in thread
From: Tudor Gabriel @ 2009-06-11 7:11 UTC (permalink / raw)
To: Carsten Dominik; +Cc: Tudor Gabriel, emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 6937 bytes --]
Thanks for your quick answer and sorry for the long dump, don't know which
lines are relevant.
(require 'org-install)
(require 'remember)
(org-remember-insinuate)
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
(add-hook 'org-agenda-mode-hook
;; eval-after-load "org"
(lambda ()
(define-prefix-command 'org-todo-state-map)
(flyspell-mode 1)
(define-key org-agenda-mode-map "\C-n" 'next-line)
(define-key org-agenda-keymap "\C-n" 'next-line)
(define-key org-agenda-mode-map "\C-p" 'previous-line)
(define-key org-agenda-keymap "\C-p" 'previous-line)))
;; Custom Key Bindings
(global-set-key (kbd "<f12>") 'org-agenda)
(global-set-key (kbd "<f5>") 'my-org-todo)
(global-set-key (kbd "<S-f5>") 'widen)
(global-set-key (kbd "<f7>") 'set-truncate-lines)
(global-set-key (kbd "<f8>") 'org-cycle-agenda-files)
(global-set-key (kbd "<f9> b") 'bbdb)
(global-set-key (kbd "<f9> c") 'calendar)
(global-set-key (kbd "<f9> f") 'boxquote-insert-file)
(global-set-key (kbd "<f9> g") 'gnus)
(global-set-key (kbd "<f9> o") 'org-occur)
(global-set-key (kbd "<f9> r") 'boxquote-region)
(global-set-key (kbd "<f9> u") (lambda () (interactive) (untabify
(point-min) (point-max))))
(global-set-key (kbd "<f9> v") 'visible-mode)
(global-set-key (kbd "C-<f9>") 'previous-buffer)
(global-set-key (kbd "C-x n r") 'narrow-to-region)
(global-set-key (kbd "C-<f10>") 'next-buffer)
(global-set-key (kbd "<f11>") 'org-clock-goto)
(global-set-key (kbd "C-s-<f12>") 'my-save-then-publish)
(global-set-key (kbd "C-M-r") 'org-remember)
(define-key mode-specific-map [?a] 'org-agenda)
;; Start clock if a remember buffer includes :CLOCK-IN:
(add-hook 'remember-mode-hook 'my-start-clock-if-needed 'append)
(defun my-start-clock-if-needed ()
(save-excursion
(goto-char (point-min))
(when (re-search-forward " *:CLOCK-IN: *" nil t)
(replace-match "")
(org-clock-in))))
(setq org-completion-use-ido t)
(setq org-refile-targets (quote ((org-agenda-files :maxlevel . 5) (nil
:maxlevel . 5))))
(setq org-refile-use-outline-path (quote file))
(setq org-remember-clock-out-on-exit nil)
(setq org-clock-out-remove-zero-time-clocks t)
(setq org-agenda-clockreport-parameter-plist (quote (:link nil :maxlevel
2)))
(setq org-columns-default-format "%80ITEM(Task) %10Effort(Effort){:}
%10CLOCKSUM")
(setq org-global-properties (quote (("Effort_ALL" . "0:10 0:30 1:00 2:00
3:00 4:00 5:00 6:00 8:00"))))
(setq org-clock-persistence-insinuate)
(setq org-clock-history-length 35)
(setq org-clock-in-resume t)
(setq org-clock-in-switch-to-state "STARTED")
(setq org-clock-into-drawer t)
(setq org-clock-out-remove-zero-time-clocks t)
(setq org-clock-out-when-done nil)
(setq org-clock-persist t)
(setq org-remember-store-without-prompt t)
(setq org-remember-default-headline "Tasks")
(setq org-remember-templates (quote (("todo" ?t "* TODO %?
%u
%a" "/home/tudor/org/tasks.org" bottom nil)
("note" ?n "*
%? :NOTE:
%u
%a" nil bottom nil)
("phone" ?p "* PHONE %:name - %:company
- :PHONE:
Contact Info: %a
%u
:CLOCK-IN:
%?" "/home/tudor/org/phone.org" bottom nil))))
(add-hook 'remember-mode-hook 'org-remember-apply-template)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(org-agenda-files (quote ("/home/tudor/org/hobby.org" "/home/tudor/org/
tasks.org" "/home/tudor/org/ardendo.org" "/home/tudor/org/home.org")))
'(org-agenda-ndays 7)
'(org-agenda-show-all-dates t)
'(org-agenda-skip-deadline-if-done t)
'(org-agenda-skip-scheduled-if-done t)
'(org-agenda-start-on-weekday nil)
'(org-cycle-separator-lines 1)
'(org-fast-tag-selection-single-key (quote expert))
'(org-log-done (quote note))
'(org-log-states-order-reverse nil)
'(org-remember-store-without-prompt t)
'(org-reverse-note-order nil)
'(remember-annotation-functions (quote (org-remember-annotation)))
'(remember-handler-functions (quote (org-remember-handler))))
(setq org-log-done (quote note))
(setq org-log-into-drawer nil)
(setq org-todo-keywords (quote ((sequence "TODO(t)" "STARTED(s)" "|"
"DONE(d!/!)")
(sequence "WAITING(w@/!)" "LATER(L!)" "PROJECT(P@)" "OPEN(O@") "|"
"CANCELLED(c@/!)")))
(setq org-todo-keyword-faces (quote (("TODO" :foreground "red" :weight bold)
("STARTED" :foreground "blue" :weight bold)
("DONE" :foreground "forest green" :weight bold)
("WAITING" :foreground "orange" :weight bold)
("LATER" :foreground "magenta" :weight bold)
("CANCELLED" :foreground "forest green" :weight bold)
("OPEN" :foreground "blue" :weight bold)
("PROJECT" :foreground "red" :weight bold))))
(setq org-todo-state-tags-triggers
(quote (("CANCELLED" ("CANCELLED" . t))
("WAITING" ("WAITING" . t) ("NEXT"))
("LATER" ("WAITING" . t))
(done ("NEXT") ("WAITING"))
("TODO" ("WAITING") ("CANCELLED"))
("STARTED" ("WAITING"))
("PROJECT" ("CANCELLED") ("PROJECT" . t)))))
(setq org-clock-in-switch-to-state "STARTED")
2009/6/11 Carsten Dominik <carsten.dominik@gmail.com>
> This must be a problem in your setup, maybe or org-TODO-keywords, maybe
> using a bad #+TODO: line in one of the agenda files. Show us you setup!
>
> - Carsten
>
> On Jun 10, 2009, at 9:12 PM, Tudor Gabriel wrote:
>
> I'm trying to learn org-mode.
>> Each time I try to open agenda buffer, I get that error.
>>
>> If I can provide any additional info, please, don't hesitate to ask.
>>
>> Debugger entered--Lisp error: (wrong-type-argument listp "|")
>> 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 hobby.org> "~/org/hobby.org" nil nil
>> "~/org/hobby.org" (174122 2053))
>> find-file-noselect("/home/tudor/org/hobby.org")
>> org-get-agenda-file-buffer("/home/tudor/org/hobby.org")
>> org-prepare-agenda-buffers(("/home/tudor/org/hobby.org"
>> "/home/tudor/org/tasks.org" "/home/tudor/org/ardendo.org"
>> "/home/tudor/org/home.org"))
>> org-prepare-agenda("Day/Week")
>> org-agenda-list(nil)
>> call-interactively(org-agenda-list)
>> byte-code("Æ ÇÆÈÉ \"\" p ÊË ! Æ @Æ A BÆ C D E>
>> org-agenda(nil)
>> call-interactively(org-agenda nil nil)
>>
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>
>
[-- Attachment #1.2: Type: text/html, Size: 9821 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: org-mode crashes with this stacktrace:
2009-06-11 7:11 ` Tudor Gabriel
@ 2009-06-11 8:31 ` Carsten Dominik
2009-06-12 3:38 ` Nick Dokos
2009-06-11 13:43 ` Carsten Dominik
1 sibling, 1 reply; 7+ messages in thread
From: Carsten Dominik @ 2009-06-11 8:31 UTC (permalink / raw)
To: Tudor Gabriel; +Cc: Tudor Gabriel, emacs-orgmode
Any #+lines in your buffers?
- Carsten
On Jun 11, 2009, at 9:11 AM, Tudor Gabriel wrote:
> Thanks for your quick answer and sorry for the long dump, don't know
> which lines are relevant.
>
> (require 'org-install)
> (require 'remember)
> (org-remember-insinuate)
> (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
> (add-hook 'org-agenda-mode-hook
> ;; eval-after-load "org"
> (lambda ()
> (define-prefix-command 'org-todo-state-map)
> (flyspell-mode 1)
> (define-key org-agenda-mode-map "\C-n" 'next-line)
> (define-key org-agenda-keymap "\C-n" 'next-line)
> (define-key org-agenda-mode-map "\C-p" 'previous-line)
> (define-key org-agenda-keymap "\C-p" 'previous-line)))
>
> ;; Custom Key Bindings
> (global-set-key (kbd "<f12>") 'org-agenda)
> (global-set-key (kbd "<f5>") 'my-org-todo)
> (global-set-key (kbd "<S-f5>") 'widen)
> (global-set-key (kbd "<f7>") 'set-truncate-lines)
> (global-set-key (kbd "<f8>") 'org-cycle-agenda-files)
> (global-set-key (kbd "<f9> b") 'bbdb)
> (global-set-key (kbd "<f9> c") 'calendar)
> (global-set-key (kbd "<f9> f") 'boxquote-insert-file)
> (global-set-key (kbd "<f9> g") 'gnus)
> (global-set-key (kbd "<f9> o") 'org-occur)
> (global-set-key (kbd "<f9> r") 'boxquote-region)
> (global-set-key (kbd "<f9> u") (lambda () (interactive) (untabify
> (point-min) (point-max))))
> (global-set-key (kbd "<f9> v") 'visible-mode)
> (global-set-key (kbd "C-<f9>") 'previous-buffer)
> (global-set-key (kbd "C-x n r") 'narrow-to-region)
> (global-set-key (kbd "C-<f10>") 'next-buffer)
> (global-set-key (kbd "<f11>") 'org-clock-goto)
> (global-set-key (kbd "C-s-<f12>") 'my-save-then-publish)
> (global-set-key (kbd "C-M-r") 'org-remember)
> (define-key mode-specific-map [?a] 'org-agenda)
>
> ;; Start clock if a remember buffer includes :CLOCK-IN:
> (add-hook 'remember-mode-hook 'my-start-clock-if-needed 'append)
>
> (defun my-start-clock-if-needed ()
> (save-excursion
> (goto-char (point-min))
> (when (re-search-forward " *:CLOCK-IN: *" nil t)
> (replace-match "")
> (org-clock-in))))
>
> (setq org-completion-use-ido t)
> (setq org-refile-targets (quote ((org-agenda-files :maxlevel . 5)
> (nil :maxlevel . 5))))
> (setq org-refile-use-outline-path (quote file))
>
> (setq org-remember-clock-out-on-exit nil)
> (setq org-clock-out-remove-zero-time-clocks t)
> (setq org-agenda-clockreport-parameter-plist (quote (:link
> nil :maxlevel 2)))
> (setq org-columns-default-format "%80ITEM(Task) %10Effort(Effort){:}
> %10CLOCKSUM")
> (setq org-global-properties (quote (("Effort_ALL" . "0:10 0:30 1:00
> 2:00 3:00 4:00 5:00 6:00 8:00"))))
>
> (setq org-clock-persistence-insinuate)
> (setq org-clock-history-length 35)
> (setq org-clock-in-resume t)
> (setq org-clock-in-switch-to-state "STARTED")
> (setq org-clock-into-drawer t)
> (setq org-clock-out-remove-zero-time-clocks t)
> (setq org-clock-out-when-done nil)
> (setq org-clock-persist t)
> (setq org-remember-store-without-prompt t)
> (setq org-remember-default-headline "Tasks")
> (setq org-remember-templates (quote (("todo" ?t "* TODO %?
> %u
> %a" "/home/tudor/org/tasks.org" bottom nil)
> ("note" ?n "*
> %? :NOTE:
> %u
> %a" nil bottom nil)
> ("phone" ?p "* PHONE %:name -
> %:company - :PHONE:
> Contact Info: %a
> %u
> :CLOCK-IN:
> %?" "/home/tudor/org/phone.org" bottom nil))))
>
>
> (add-hook 'remember-mode-hook 'org-remember-apply-template)
>
> (custom-set-variables
> ;; custom-set-variables was added by Custom.
> ;; If you edit it by hand, you could mess it up, so be careful.
> ;; Your init file should contain only one such instance.
> ;; If there is more than one, they won't work right.
> '(org-agenda-files (quote ("/home/tudor/org/hobby.org" "/home/tudor/
> org/tasks.org" "/home/tudor/org/ardendo.org" "/home/tudor/org/
> home.org")))
> '(org-agenda-ndays 7)
> '(org-agenda-show-all-dates t)
> '(org-agenda-skip-deadline-if-done t)
> '(org-agenda-skip-scheduled-if-done t)
> '(org-agenda-start-on-weekday nil)
> '(org-cycle-separator-lines 1)
> '(org-fast-tag-selection-single-key (quote expert))
> '(org-log-done (quote note))
> '(org-log-states-order-reverse nil)
> '(org-remember-store-without-prompt t)
> '(org-reverse-note-order nil)
> '(remember-annotation-functions (quote (org-remember-annotation)))
> '(remember-handler-functions (quote (org-remember-handler))))
>
> (setq org-log-done (quote note))
> (setq org-log-into-drawer nil)
>
> (setq org-todo-keywords (quote ((sequence "TODO(t)" "STARTED(s)" "|"
> "DONE(d!/!)")
> (sequence "WAITING(w@/!)" "LATER(L!)" "PROJECT(P@)" "OPEN(O@") "|"
> "CANCELLED(c@/!)")))
>
> (setq org-todo-keyword-faces (quote (("TODO" :foreground
> "red" :weight bold)
> ("STARTED" :foreground "blue" :weight bold)
> ("DONE" :foreground "forest green" :weight bold)
> ("WAITING" :foreground "orange" :weight bold)
> ("LATER" :foreground "magenta" :weight bold)
> ("CANCELLED" :foreground "forest green" :weight bold)
> ("OPEN" :foreground "blue" :weight bold)
> ("PROJECT" :foreground "red" :weight bold))))
>
> (setq org-todo-state-tags-triggers
> (quote (("CANCELLED" ("CANCELLED" . t))
> ("WAITING" ("WAITING" . t) ("NEXT"))
> ("LATER" ("WAITING" . t))
> (done ("NEXT") ("WAITING"))
> ("TODO" ("WAITING") ("CANCELLED"))
> ("STARTED" ("WAITING"))
> ("PROJECT" ("CANCELLED") ("PROJECT" . t)))))
>
> (setq org-clock-in-switch-to-state "STARTED")
>
>
>
> 2009/6/11 Carsten Dominik <carsten.dominik@gmail.com>
> This must be a problem in your setup, maybe or org-TODO-keywords,
> maybe
> using a bad #+TODO: line in one of the agenda files. Show us you
> setup!
>
> - Carsten
>
> On Jun 10, 2009, at 9:12 PM, Tudor Gabriel wrote:
>
> I'm trying to learn org-mode.
> Each time I try to open agenda buffer, I get that error.
>
> If I can provide any additional info, please, don't hesitate to ask.
>
> Debugger entered--Lisp error: (wrong-type-argument listp "|")
> 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 hobby.org> "~/org/hobby.org" nil nil
> "~/org/hobby.org" (174122 2053))
> find-file-noselect("/home/tudor/org/hobby.org")
> org-get-agenda-file-buffer("/home/tudor/org/hobby.org")
> org-prepare-agenda-buffers(("/home/tudor/org/hobby.org"
> "/home/tudor/org/tasks.org" "/home/tudor/org/ardendo.org"
> "/home/tudor/org/home.org"))
> org-prepare-agenda("Day/Week")
> org-agenda-list(nil)
> call-interactively(org-agenda-list)
> byte-code("Æ ÇÆÈÉ \"\" p ÊË ! Æ @Æ A BÆ C D E>
> org-agenda(nil)
> call-interactively(org-agenda nil nil)
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: org-mode crashes with this stacktrace:
2009-06-11 8:31 ` Carsten Dominik
@ 2009-06-12 3:38 ` Nick Dokos
2009-06-12 11:31 ` Tudor Gabriel
0 siblings, 1 reply; 7+ messages in thread
From: Nick Dokos @ 2009-06-12 3:38 UTC (permalink / raw)
To: Carsten Dominik; +Cc: Tudor Gabriel, emacs-orgmode, Tudor Gabriel
Carsten Dominik <carsten.dominik@gmail.com> wrote:
> Any #+lines in your buffers?
>
> - Carsten
>
> > On Jun 10, 2009, at 9:12 PM, Tudor Gabriel wrote:
> >
> > I'm trying to learn org-mode.
> > Each time I try to open agenda buffer, I get that error.
> >
> > If I can provide any additional info, please, don't hesitate to ask.
> >
> > Debugger entered--Lisp error: (wrong-type-argument listp "|")
> > 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 hobby.org> "~/org/hobby.org" nil nil
> > "~/org/hobby.org" (174122 2053))
> > find-file-noselect("/home/tudor/org/hobby.org")
I think we need to see the contents of this^^^^^ file.
Thanks,
Nick
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: org-mode crashes with this stacktrace:
2009-06-12 3:38 ` Nick Dokos
@ 2009-06-12 11:31 ` Tudor Gabriel
0 siblings, 0 replies; 7+ messages in thread
From: Tudor Gabriel @ 2009-06-12 11:31 UTC (permalink / raw)
To: nicholas.dokos; +Cc: Tudor Gabriel, emacs-orgmode, Carsten Dominik
[-- Attachment #1.1: Type: text/plain, Size: 1368 bytes --]
Thank you all for the effort.
After commenting line by line in the setup file & lots of reloads i found
that this line was the culprit:
(setq org-todo-keywords (quote ((sequence "TODO(t)" "STARTED(s)" "|"
"DONE(d!/!)")
(sequence "WAITING(w@/!)" "LATER(L!)" "PROJECT(P@)" "OPEN(O@") "|"
"CANCELLED(c@/!)")))
the OPEN keyword has the quote in the wrong place.
A hard to spot, simple mistake.
But your level of effort made a big impression on me
Cheers & Thanks again,
Gabriel
2009/6/12 Nick Dokos <nicholas.dokos@hp.com>
> Carsten Dominik <carsten.dominik@gmail.com> wrote:
>
> > Any #+lines in your buffers?
> >
> > - Carsten
> >
> > > On Jun 10, 2009, at 9:12 PM, Tudor Gabriel wrote:
> > >
> > > I'm trying to learn org-mode.
> > > Each time I try to open agenda buffer, I get that error.
> > >
> > > If I can provide any additional info, please, don't hesitate to ask.
> > >
> > > Debugger entered--Lisp error: (wrong-type-argument listp "|")
> > > 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 hobby.org> "~/org/hobby.org" nil nil
> > > "~/org/hobby.org" (174122 2053))
> > > find-file-noselect("/home/tudor/org/hobby.org")
>
> I think we need to see the contents of this^^^^^ file.
>
> Thanks,
> Nick
>
[-- Attachment #1.2: Type: text/html, Size: 2357 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: org-mode crashes with this stacktrace:
2009-06-11 7:11 ` Tudor Gabriel
2009-06-11 8:31 ` Carsten Dominik
@ 2009-06-11 13:43 ` Carsten Dominik
1 sibling, 0 replies; 7+ messages in thread
From: Carsten Dominik @ 2009-06-11 13:43 UTC (permalink / raw)
To: Tudor Gabriel; +Cc: [orgmode] list
Another thing you an try is to send me a backtrace made with
*uncompiled* code, as described in the manual....
- Carsten
On Jun 11, 2009, at 9:11 AM, Tudor Gabriel wrote:
> Thanks for your quick answer and sorry for the long dump, don't know
> which lines are relevant.
>
> (require 'org-install)
> (require 'remember)
> (org-remember-insinuate)
> (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
> (add-hook 'org-agenda-mode-hook
> ;; eval-after-load "org"
> (lambda ()
> (define-prefix-command 'org-todo-state-map)
> (flyspell-mode 1)
> (define-key org-agenda-mode-map "\C-n" 'next-line)
> (define-key org-agenda-keymap "\C-n" 'next-line)
> (define-key org-agenda-mode-map "\C-p" 'previous-line)
> (define-key org-agenda-keymap "\C-p" 'previous-line)))
>
> ;; Custom Key Bindings
> (global-set-key (kbd "<f12>") 'org-agenda)
> (global-set-key (kbd "<f5>") 'my-org-todo)
> (global-set-key (kbd "<S-f5>") 'widen)
> (global-set-key (kbd "<f7>") 'set-truncate-lines)
> (global-set-key (kbd "<f8>") 'org-cycle-agenda-files)
> (global-set-key (kbd "<f9> b") 'bbdb)
> (global-set-key (kbd "<f9> c") 'calendar)
> (global-set-key (kbd "<f9> f") 'boxquote-insert-file)
> (global-set-key (kbd "<f9> g") 'gnus)
> (global-set-key (kbd "<f9> o") 'org-occur)
> (global-set-key (kbd "<f9> r") 'boxquote-region)
> (global-set-key (kbd "<f9> u") (lambda () (interactive) (untabify
> (point-min) (point-max))))
> (global-set-key (kbd "<f9> v") 'visible-mode)
> (global-set-key (kbd "C-<f9>") 'previous-buffer)
> (global-set-key (kbd "C-x n r") 'narrow-to-region)
> (global-set-key (kbd "C-<f10>") 'next-buffer)
> (global-set-key (kbd "<f11>") 'org-clock-goto)
> (global-set-key (kbd "C-s-<f12>") 'my-save-then-publish)
> (global-set-key (kbd "C-M-r") 'org-remember)
> (define-key mode-specific-map [?a] 'org-agenda)
>
> ;; Start clock if a remember buffer includes :CLOCK-IN:
> (add-hook 'remember-mode-hook 'my-start-clock-if-needed 'append)
>
> (defun my-start-clock-if-needed ()
> (save-excursion
> (goto-char (point-min))
> (when (re-search-forward " *:CLOCK-IN: *" nil t)
> (replace-match "")
> (org-clock-in))))
>
> (setq org-completion-use-ido t)
> (setq org-refile-targets (quote ((org-agenda-files :maxlevel . 5)
> (nil :maxlevel . 5))))
> (setq org-refile-use-outline-path (quote file))
>
> (setq org-remember-clock-out-on-exit nil)
> (setq org-clock-out-remove-zero-time-clocks t)
> (setq org-agenda-clockreport-parameter-plist (quote (:link
> nil :maxlevel 2)))
> (setq org-columns-default-format "%80ITEM(Task) %10Effort(Effort){:}
> %10CLOCKSUM")
> (setq org-global-properties (quote (("Effort_ALL" . "0:10 0:30 1:00
> 2:00 3:00 4:00 5:00 6:00 8:00"))))
>
> (setq org-clock-persistence-insinuate)
> (setq org-clock-history-length 35)
> (setq org-clock-in-resume t)
> (setq org-clock-in-switch-to-state "STARTED")
> (setq org-clock-into-drawer t)
> (setq org-clock-out-remove-zero-time-clocks t)
> (setq org-clock-out-when-done nil)
> (setq org-clock-persist t)
> (setq org-remember-store-without-prompt t)
> (setq org-remember-default-headline "Tasks")
> (setq org-remember-templates (quote (("todo" ?t "* TODO %?
> %u
> %a" "/home/tudor/org/tasks.org" bottom nil)
> ("note" ?n "*
> %? :NOTE:
> %u
> %a" nil bottom nil)
> ("phone" ?p "* PHONE %:name -
> %:company - :PHONE:
> Contact Info: %a
> %u
> :CLOCK-IN:
> %?" "/home/tudor/org/phone.org" bottom nil))))
>
>
> (add-hook 'remember-mode-hook 'org-remember-apply-template)
>
> (custom-set-variables
> ;; custom-set-variables was added by Custom.
> ;; If you edit it by hand, you could mess it up, so be careful.
> ;; Your init file should contain only one such instance.
> ;; If there is more than one, they won't work right.
> '(org-agenda-files (quote ("/home/tudor/org/hobby.org" "/home/tudor/
> org/tasks.org" "/home/tudor/org/ardendo.org" "/home/tudor/org/
> home.org")))
> '(org-agenda-ndays 7)
> '(org-agenda-show-all-dates t)
> '(org-agenda-skip-deadline-if-done t)
> '(org-agenda-skip-scheduled-if-done t)
> '(org-agenda-start-on-weekday nil)
> '(org-cycle-separator-lines 1)
> '(org-fast-tag-selection-single-key (quote expert))
> '(org-log-done (quote note))
> '(org-log-states-order-reverse nil)
> '(org-remember-store-without-prompt t)
> '(org-reverse-note-order nil)
> '(remember-annotation-functions (quote (org-remember-annotation)))
> '(remember-handler-functions (quote (org-remember-handler))))
>
> (setq org-log-done (quote note))
> (setq org-log-into-drawer nil)
>
> (setq org-todo-keywords (quote ((sequence "TODO(t)" "STARTED(s)" "|"
> "DONE(d!/!)")
> (sequence "WAITING(w@/!)" "LATER(L!)" "PROJECT(P@)" "OPEN(O@") "|"
> "CANCELLED(c@/!)")))
>
> (setq org-todo-keyword-faces (quote (("TODO" :foreground
> "red" :weight bold)
> ("STARTED" :foreground "blue" :weight bold)
> ("DONE" :foreground "forest green" :weight bold)
> ("WAITING" :foreground "orange" :weight bold)
> ("LATER" :foreground "magenta" :weight bold)
> ("CANCELLED" :foreground "forest green" :weight bold)
> ("OPEN" :foreground "blue" :weight bold)
> ("PROJECT" :foreground "red" :weight bold))))
>
> (setq org-todo-state-tags-triggers
> (quote (("CANCELLED" ("CANCELLED" . t))
> ("WAITING" ("WAITING" . t) ("NEXT"))
> ("LATER" ("WAITING" . t))
> (done ("NEXT") ("WAITING"))
> ("TODO" ("WAITING") ("CANCELLED"))
> ("STARTED" ("WAITING"))
> ("PROJECT" ("CANCELLED") ("PROJECT" . t)))))
>
> (setq org-clock-in-switch-to-state "STARTED")
>
>
>
> 2009/6/11 Carsten Dominik <carsten.dominik@gmail.com>
> This must be a problem in your setup, maybe or org-TODO-keywords,
> maybe
> using a bad #+TODO: line in one of the agenda files. Show us you
> setup!
>
> - Carsten
>
> On Jun 10, 2009, at 9:12 PM, Tudor Gabriel wrote:
>
> I'm trying to learn org-mode.
> Each time I try to open agenda buffer, I get that error.
>
> If I can provide any additional info, please, don't hesitate to ask.
>
> Debugger entered--Lisp error: (wrong-type-argument listp "|")
> 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 hobby.org> "~/org/hobby.org" nil nil
> "~/org/hobby.org" (174122 2053))
> find-file-noselect("/home/tudor/org/hobby.org")
> org-get-agenda-file-buffer("/home/tudor/org/hobby.org")
> org-prepare-agenda-buffers(("/home/tudor/org/hobby.org"
> "/home/tudor/org/tasks.org" "/home/tudor/org/ardendo.org"
> "/home/tudor/org/home.org"))
> org-prepare-agenda("Day/Week")
> org-agenda-list(nil)
> call-interactively(org-agenda-list)
> byte-code("Æ ÇÆÈÉ \"\" p ÊË ! Æ @Æ A BÆ C D E>
> org-agenda(nil)
> call-interactively(org-agenda nil nil)
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-06-12 11:31 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-10 19:12 org-mode crashes with this stacktrace: Tudor Gabriel
2009-06-11 4:55 ` Carsten Dominik
2009-06-11 7:11 ` Tudor Gabriel
2009-06-11 8:31 ` Carsten Dominik
2009-06-12 3:38 ` Nick Dokos
2009-06-12 11:31 ` Tudor Gabriel
2009-06-11 13:43 ` Carsten Dominik
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.