emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Re: Error when changing todo-state [7.8.11]
@ 2012-06-22  6:14 Salome =?iso-8859-1?Q?S=F6dergran ?=
  0 siblings, 0 replies; 5+ messages in thread
From: Salome =?iso-8859-1?Q?S=F6dergran ?= @ 2012-06-22  6:14 UTC (permalink / raw)
  To: emacs-orgmode


Am 20.6.2012 schrieb Nick Dokos:
> Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
> > "state" has been changed to "org-state".
> 
> That's probably the cause of the problem, but there is still the question
> of whether "state" is used in some customization that the OP has done
> or whether there are inconsistencies in the update (i.e. old bits lying
> around and being used in preference to the new ones).
> 
> Nick
> 
Changing "state" to "org-state" in org-checklist.el solved the problem.
Thank you, Eric and Nicholas, for your hints! 
Salome

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Error when changing todo-state [7.8.11]
@ 2012-06-20  7:24 salome.soedergran
  2012-06-20 15:21 ` Eric S Fraga
  2012-06-20 17:08 ` Charles Philip Chan
  0 siblings, 2 replies; 5+ messages in thread
From: salome.soedergran @ 2012-06-20  7:24 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

I recently upgraded to emacs24 and org 7.8.11. Since this upgrade, when I set or change a todo-state, I get an error message (void-variable state). The desired todo-state is being set all the same. I guess there's some kind of conflict between my config and the new org-version -- but what is it and what can I do about it?
Please find the backtrace and parts of my init-file below.

Best, Salome


BACKTRACE
Debugger entered--Lisp error: (void-variable state)
  (member state org-done-keywords)
  (if (member state org-done-keywords) (progn (org-make-checklist-export) (org-reset-checkbox-state-maybe)))
  (when (member state org-done-keywords) (org-make-checklist-export) (org-reset-checkbox-state-maybe))
  org-checklist()
  run-hooks(org-after-todo-state-change-hook)
  byte-code("\306\307!\210\310\b!\203\x0f\0\311\225Sb\210\310\312	\313Q!\204\x1c\0\310\314!\210\302 \x1a\315 ^[\302 \x1c\316\216\317\320\321\307\211$*\x1d\x0e@\x1e@\x0eA\x1eA\x0eB\x1eB\x0eC\311\232\203I\0\320\x16C\322\202K\0\x0eD\x1eD\323\324!\x1eE\311\224\x1eF\325\x0eE!\x1eG\326\x0eG\x0eH\"\211\x1eIA@\x1eJ\327\x0eI8\x1eK\330\x0eI8\x1eL\x0eE\206{\0\331\x1eM\307\x1eN\x0eE\x0eO\235\211\x1ePA\x1eQ\x0eR\203\264\0\x0eC\332\232\203\236\0\x0eS\333=\204\257\0\x0eC\204\264\0\x0eS\203\264\0\x0eS\333=\204\264\0\334 \202	\x02\x0eC\335\232\203\322\0\x0eS\203\305\0\x0eR\204\322\0\336\337\340\341\x0eO\"\320\307$\202	\x02\x0eC\342=\203\357\0\x0eE\203\351\0\x0eQ\205	\x02\x0eQ@\202	\x02\x0eO@\202	\x02\x0eC\343=\203 \x01\x0eP\x0eO\232?\205	\x02\x0eE\203\x13\x01\344\x0eOG\x0eQG\345#\x0eO8\202	\x02\x0eO\x1eT\346\x0eT!@)\202	\x02\x0eS\307=\2035\x01\x0eC\347\232\2035\x01\320\211\x16C\206	\x02\x0eC\203\271\x01\x0eC\331\232\203E\x01\320\202	\x02\x0eC\350=\203P\x01\320\202	\x02\x0eC\351=\203b\x01\x0eK\206	\x02\x0eU@\202	\x02\x0eC\352=\203y\x01\x0eG\x0eV\235A@\206	\x02\x0eV@\202	\x02\x0eC\353=\203\227\x01\354\x0eV!\x1eV\x0eG\x0eV\235A@\206\223\x01\x0eV@)\202	\x02\x0eC\x0eO\235@\206	\x02\x0eC;\203\256\x01\355\356\x0eC\"\202	\x02\357\x0eC!S\x0eO8\202	\x02\x0eP\204\311\x01\x0eG\206	\x02\x0eO@\202	\x02\x0eE\x0eL\232\203\325\x01\320\202	\x02\x0eQ\204\336\x01\320\202	\x02\x0eJ\360>\203\x06\x02\x0eW\x0eX=\203\363\x01\x0eQ@\202	\x02\x0eQG\311V\205	\x02\x0eK\206	\x02\x0eU@\202	\x02\x0eQ@\x1eY\361\362\x0eY\x0eM#\206\x17\x02\x0eY\211\x1eY\203%\x02\363\x0eY\363Q\202&\x02\363\x1eZ\364\365\366\x0eE\367\x0eY\370\v\257\b\x1e[\320\211\x1e\\\x1e]\x0e;\203~\x02\x0eE\x0eU\235?\x16^\212\302 \x1c\371\216\212\214~\210\372\373\x0e[\"-\204~\x02\374\375!\203m\x02\355\376\x0eE\x0eY#\210\202~\x02\377\376\x0eE\x0eY#\210\201g\0\201h\0\320\"\210\201i\0\n!\210\201j\0\x0eZ\307\211#\210\201k\0\x0eF!\204\242\x02\377\201l\0\201m\0\x0eZ!\"\210\x0eG\204\306\x02\325\x0eY!\x16G\326\x0eG\x0eH\"\211\x16IA@\x16J\327\x0eI8\x16K\330\x0eI8\x16L\x0eC\201n\0>\203\370\x02\377\201o\0\344\x0e_G\201p\0\326\x0eY\x0e_\"\x0e_>G#\x0e_G\201q\0\201r\0\326\x0eY\x0e_\"\363#$\210\x0eY\x0eU\235?\x16^\x0eY\x0eU\235\205\x0e\x03\x0eE\x0eU\235?\x16]\r\203\x1a\x03\201s\0\r!\210\x0eB\204$\x03\x0e@\203\305\x03\x0eD\307=\204\305\x03\x0eC\201t\0>\204\305\x03\326\x0eY\x0eB\"A@\206G\x03\345\326\x0eE\x0eB\"8\211\x16\\\322=\203[\x03\x0eD\322=\203[\x03\201u\0\x16\\\x0eY\203z\x03\x0eY\x0e`\235\203z\x03\x0eE\x0e`\235\204z\x03\201v\0\320\211\201w\0#\210\x0e]\203\252\x03\x0e@\203\252\x03\201v\0\201w\0\201x\0 \"\210\x0e\\\204\252\x03\x0e@\322=\203\252\x03\201y\0\351\x0eY\x0eE\201z\0\322%\210\x0eY\203\305\x03\x0e\\\203\305\x03\201y\0\201{\0\x0eY\x0eE\201z\0\x0e\\%\210\201|\0\x0eY!\210\x0ea\203\335\x03\x0eb\204\335\x03\201}\0\320\307\"\210\x0ec\203\347\x03\201~\0 \210\201\x7f\0\201\200\0!\210\x0eC\203\x02\x04\x0eY\x0eU\235\204\x02\x04\325\x0eY!\x16G\201\201\0\315 \201\202\0 \201\203\0\x0eG$\210\x0e]\2036\x04\201\204\0\201d\0!\203/\x04\302 \x1c\201\205\0\216\201\206\0 \x16d*\201\207\0\x0eY!\210\201\210\0 \203r\x04n\204r\x04\212\201\211\0\324!\210\310\x0ee!)\203r\x04`\345\211\225\206Y\x04\324\225\\W\203r\x04\345\225\206e\x04\324\225b\210\310\363!\203r\x04\201\212\0 \210\x0ef\205\202\x04\212\201\213\0\201f\0\x0e[\").\x18\207" [org-outline-regexp org-todo-regexp match-data startpos save-match-data-internal logging org-back-to-heading t looking-at 0 " +" "\\( +\\|[ 	]*$\\)" "\\(?: *\\|[ 	]*$\\)" point-at-bol ((byte-code "\301\b\302\"\207" [save-match-data-internal set-match-data evaporate] 3)) org-entry-get nil "LOGGING" note match-string 1 org-get-todo-sequence-head assoc 3 4 "" (4) prefix org-fast-todo-selection (4) org-icompleting-read "State: " mapcar #[(x) "\bC\207" [x] 1] right left - 2 last (4) none done nextset previousset reverse error "State `%s' not valid in this file" prefix-numeric-value (type priority) run-hook-with-args-until-success ...] 10)
  org-todo(nil)
  call-interactively(org-todo nil nil)


Emacs  : GNU Emacs 24.1.50.1 (i686-pc-linux-gnu, GTK+ Version 3.4.2)
 of 2012-06-16 on platinum, modified by Debian
Package: Org-mode version 7.8.11

INIT-FILE (part)
(setq
 org-clock-persist 'history
 org-agenda-window-setup 'current-window
 org-goto-max-level 10
 org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code)
 org-tab-first-hook '(org-hide-block-toggle-maybe
		      org-src-native-tab-command-maybe
		      org-babel-hide-result-toggle-maybe)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
		  org-cycle-show-empty-lines
		  org-optimize-window-after-visibility-change)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-speed-command-hook '(org-speed-command-default-hook
			  org-babel-speed-command-hook)
 org-show-following-heading t
 org-agenda-restore-windows-after-quit t
 org-babel-pre-tangle-hook '(save-buffer)
 org-occur-hook '(org-first-headline-recenter)
 org-export-interblocks '((src org-babel-exp-non-block-elements))
 org-cycle-separator-lines 0
 org-use-sub-superscripts nil
 org-clock-out-remove-zero-time-clocks t
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-hide-leading-stars t
 org-log-into-drawer "LOGBOOK"
 org-columns-default-format "%25ITEM(Details) %15TAGS(Context) %7TODO(To Do) %5Effort(Time){:} %6CLOCKSUM(Clock){Total}"
 org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers)
 org-show-siblings nil
 org-checklist-export-function 'org-export-as-ascii
 org-attach-method '(link)
 org-blank-before-new-entry '((heading) (plain-list-item))
 org-global-properties '(("Effort_ALL" .
			  "0 0:10 0:30 1:00 2:00 3:00 4:00 6:00 8:00")
			 )
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-agenda-prefix-format '((agenda . "%?-12t% s") (timeline . "  % s")
			    (todo . "%-12:c") (tags . "%-12:c %i")
			    (search . " %i %-12:c"))
 org-agenda-skip-deadline-if-done t
 org-export-first-hook '(org-beamer-initialize-open-trackers)
 org-mode-hook '((lambda nil (local-set-key [f11] (quote org2blog/wp-mode)))
		 org-clock-load
		 #[nil "\300\301\302\303\304$\207"
		   [org-add-hook change-major-mode-hook org-show-block-all
		    append local]
		   5]
		 #[nil "\300\301\302\303\304$\207"
		   [org-add-hook change-major-mode-hook
		    org-babel-show-result-all append local]
		   5]
		 org-babel-result-hide-spec org-babel-hide-all-hashes
		 (lambda nil (subword-mode 1)))
 org-export-latex-low-levels '("\\begin{itemize}" "\\end{itemize}" "\\item %s")
 org-show-hierarchy-above t
 org-agenda-remove-tags t
 org-clock-idle-time 15
 org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc
			       org-beamer-auto-fragile-frames
			       org-beamer-place-default-actions-for-lists)
 org-export-html-coding-system 'utf-8
 org-agenda-repeating-timestamp-show-all nil
 org-tags-column -75
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-cycle-emulate-tab '(whitestart)
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-todo-keywords '((sequence "APPT(a!)" "NEXT(n!)" "WAITING(w@)" "INBOX(i)"
		      "|" "DONE(d!)" "CANCELLED(c!)" "MAYBE/LATER(m!)")
		     )
 org-agenda-weekend-days '(0)
 org-agenda-files '("~/org/gtd.org")
 org-drawers '("ZIEL" "PROPERTIES" "LOGBOOK" "CLOCK")
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
		     org-src-mode-configure-edit-buffer)
 org-after-todo-state-change-hook '(org-checklist org-clock-out-if-current)
 org-bbdb-anniversary-format-alist '(("birthday" lambda (name years suffix)
				      (concat "[[bbdb:" name "][" name
				       "]] ist " (number-to-string years)
				       " Jahre alt")
				      )
				     ("wedding" lambda (name years suffix)
				      (concat "[[bbdb:" name "][" name "]]"
				       (number-to-string years)
				       ". Hochzeitstag")
				      )
				     )
 org-agenda-tags-todo-honor-ignore-options t
 org-confirm-shell-link-function 'yes-or-no-p
 )

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-06-22  6:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-22  6:14 Error when changing todo-state [7.8.11] Salome =?iso-8859-1?Q?S=F6dergran ?=
  -- strict thread matches above, loose matches on Subject: below --
2012-06-20  7:24 salome.soedergran
2012-06-20 15:21 ` Eric S Fraga
     [not found]   ` <e.fraga@ucl.ac.uk>
2012-06-20 17:59     ` Nick Dokos
2012-06-20 17:08 ` Charles Philip Chan

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).