From: Tudor Gabriel <tdrgabi@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Tudor Gabriel <tdrgab.i@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: org-mode crashes with this stacktrace:
Date: Thu, 11 Jun 2009 09:11:46 +0200 [thread overview]
Message-ID: <aa8f77d40906110011k5c493679kacc38f22fd04c446@mail.gmail.com> (raw)
In-Reply-To: <B4A52848-73DE-4C4A-8117-F8EC699A5D1A@gmail.com>
[-- 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
next prev parent reply other threads:[~2009-06-11 7:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
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=aa8f77d40906110011k5c493679kacc38f22fd04c446@mail.gmail.com \
--to=tdrgabi@gmail.com \
--cc=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=tdrgab.i@gmail.com \
/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).