From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org-mode crashes with this stacktrace: Date: Thu, 11 Jun 2009 15:43:33 +0200 Message-ID: <940B6CE7-307A-496A-86C4-DED4C2D7C126@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MEkZC-0004nv-5B for emacs-orgmode@gnu.org; Thu, 11 Jun 2009 09:43:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MEkZ7-0004hL-W0 for emacs-orgmode@gnu.org; Thu, 11 Jun 2009 09:43:41 -0400 Received: from [199.232.76.173] (port=57230 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MEkZ7-0004h0-M6 for emacs-orgmode@gnu.org; Thu, 11 Jun 2009 09:43:37 -0400 Received: from mail-ew0-f225.google.com ([209.85.219.225]:51672) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MEkZ7-0005Yh-1v for emacs-orgmode@gnu.org; Thu, 11 Jun 2009 09:43:37 -0400 Received: by ewy25 with SMTP id 25so535277ewy.42 for ; Thu, 11 Jun 2009 06:43:36 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Tudor Gabriel Cc: "[orgmode] list" Another thing you an try is to send me a backtrace made with =20 *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 =20= > 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 "") 'org-agenda) > (global-set-key (kbd "") 'my-org-todo) > (global-set-key (kbd "") 'widen) > (global-set-key (kbd "") 'set-truncate-lines) > (global-set-key (kbd "") 'org-cycle-agenda-files) > (global-set-key (kbd " b") 'bbdb) > (global-set-key (kbd " c") 'calendar) > (global-set-key (kbd " f") 'boxquote-insert-file) > (global-set-key (kbd " g") 'gnus) > (global-set-key (kbd " o") 'org-occur) > (global-set-key (kbd " r") 'boxquote-region) > (global-set-key (kbd " u") (lambda () (interactive) (untabify =20 > (point-min) (point-max)))) > (global-set-key (kbd " v") 'visible-mode) > (global-set-key (kbd "C-") 'previous-buffer) > (global-set-key (kbd "C-x n r") 'narrow-to-region) > (global-set-key (kbd "C-") 'next-buffer) > (global-set-key (kbd "") 'org-clock-goto) > (global-set-key (kbd "C-s-") '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) =20 > (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 =20 > nil :maxlevel 2))) > (setq org-columns-default-format "%80ITEM(Task) %10Effort(Effort){:} =20= > %10CLOCKSUM") > (setq org-global-properties (quote (("Effort_ALL" . "0:10 0:30 1:00 =20= > 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 "* =20 > %? :NOTE: > %u > %a" nil bottom nil) > ("phone" ?p "* PHONE %:name - =20 > %: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/=20= > org/tasks.org" "/home/tudor/org/ardendo.org" "/home/tudor/org/=20 > 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)" "|" =20= > "DONE(d!/!)") > (sequence "WAITING(w@/!)" "LATER(L!)" "PROJECT(P@)" "OPEN(O@") "|" =20= > "CANCELLED(c@/!)"))) > > (setq org-todo-keyword-faces (quote (("TODO" :foreground =20 > "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 > This must be a problem in your setup, maybe or org-TODO-keywords, =20 > maybe > using a bad #+TODO: line in one of the agenda files. Show us you =20 > 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(# "~/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("=C6 =C7=C6=C8=C9 \"\" p =CA=CB ! =C6 @=C6 A B=C6 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 > >