0

I am customizing my ~/.emacs file. Specifically, I am customizing org-mode's TODO list feature to include more tasks. However, I keep receiving the following error:

File mode specification error: (wrong-type-argument stringp\ (sequence "TODO" "IN-PROGRESS" "WAITING" "DONE"))

I've pasted my ~/.emacs file below. I am every new to emacs and org-mode. Would love any insights.

;; -*- mode: emacs-lisp -*-                                 

;; Disable the splash screen (to enable it agin, replace th\
e t with 0)                                                 
(setq inhibit-splash-screen t)

;; Enable transient mark mode                               
(transient-mark-mode 1)

;;;;org-mode configuration                                  
;; Enable org-mode                                          
(require 'org)
(setq org-todo-keywords
  '((sequence "TODO" "IN-PROGRESS" "WAITING" "DONE")))
(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))


;; don't create backupfiles                                 
(setq make-backup-files nil)

;; don't create auto-save files                             
(setq auto-save-default nil)

Thanks -- any insights would be appreciated.

glenn jackman
  • 238,783
  • 38
  • 220
  • 352
coltsfan
  • 21
  • 1
  • 3
    I'm voting to close this question as off-topic because it belongs on emacs.stackexchange.com. – Zsolt Botykai Nov 03 '15 at 20:12
  • Unable to check now, but looks to me like you are mixing different syntaxes. Does it help if you take away the quote before `sequence` as well as one pair of parentheses around the form? – tripleee Nov 03 '15 at 20:24
  • 1
    The same question is also asked on emacs.SE ( http://emacs.stackexchange.com/q/17838/115 ). You should not be posting duplicate questions. – Kaushal Modi Nov 03 '15 at 21:46
  • @tripleee That syntax is fine. I have this in my config: `(setq org-todo-keywords '((sequence "TODO" "SOMEDAY" "CANCELED" "DONE")))`. – Kaushal Modi Nov 03 '15 at 21:48
  • That line causes the todo functionality to halt if I don't remove it. – coltsfan Nov 03 '15 at 21:53
  • 2
    It is probably because line 4 is not `elisp` code, and needs to be moved back up to the comment of line 3 where it belongs. – lawlist Nov 03 '15 at 23:08

0 Answers0