> > I think the problem is your 'nil' entries. > > My text-mode-hook looks like this: > > --8<---------------cut here---------------start------------->8--- > text-mode-hook's value is > (text-mode-hook-identify) > --8<---------------cut here---------------end--------------->8--- > > I would remove the nil entries and see if that helps > > My org-mode-hook looks like this: > --8<---------------cut here---------------start------------->8--- > Value: > (org-clock-load > (lambda nil > (abbrev-mode 1)) > (lambda nil > (add-hook 'before-save-hook 'org-encrypt-entries nil t)) > (lambda nil > (org-add-hook 'change-major-mode-hook 'org-show-block-all 'append 'local)) > (lambda nil > (org-add-hook 'change-major-mode-hook 'org-babel-show-result-all 'append 'local)) > org-babel-result-hide-spec org-babel-hide-all-hashes turn-on-flyspell > (lambda nil > (org-defkey org-mode-map "[" 'undefined) > (org-defkey org-mode-map "]" 'undefined)) > (lambda nil > (local-set-key > (kbd "C-c M-o") > 'bh/mail-subtree))) > --8<---------------cut here---------------end--------------->8--- > > I'm on GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11 on raven, modified by Debian > > Regards, > Bernt > >
Please forgive the question, but how do you remove the nil entries? In .emacs I have (add-hook 'text-mode-hook (setq adaptive-fill-mode nil)) and so I'm not sure how text-mode-hook ends up with (nil (text-mode-hook-identify)). I tried (add-hook 'text-mode-hook (text-mode-hook-identify)) but this set text-mode-hook to (t text-mode-hook-identify) and when I tried C-c c t to enter a task, I get the message "Capture template 't': org-called-interactively-p" and nothing happens.