Nicolas Goaziou writes: > Hello, > > Sharon Kimble writes: > >> A problem has developed overnight where I am not able to display my >> usual 3-week agenda. I can display a list of TODOs but no display of >> agenda. When I try "C-c a a" It displays "21 days-agenda (W17-W19):" >> and nothing else. But, it does throw up this debug info, rather long >> unfortunately, but I'll put it at the end. >> >> This is with org-version "Org-mode version 8.2.10 (release_8.2.10 @ >> /home/boudiccas/git/org-mode/lisp/)" which I cloned on the 18th >> April. >> >> My last action on my organiser file was to change the date of a >> scheduled task. >> >> How can I get it working properly again please? >> >> Thanks >> Sharon. >> >> Debugger entered--Lisp error: (void-variable org-ts-regexp-inactive) >> (format "^[ ]*-[ ]+\\(?:State \"%s\".*%s%s\\)" (regexp-opt >> org-done-keywords) org-ts-regexp-inactive (let ((value (cdr (assq (quote >> done) org-log-note-headings)))) (if (not value) "" (concat "\\|" >> (org-replace-escapes (regexp-quote value) (cons (cons "%d" >> org-ts-regexp-inactive) (cons (cons "%D" org-ts-regexp) (cons ... >> ...)))))))) >> (let* ((maxdays (+ org-habit-preceding-days >> org-habit-following-days)) (reversed org-log-states-order-reversed) >> (search (if reversed (quote re-search-forward) (quote >> re-search-backward))) (limit (if reversed end (point))) (count 0) >> (re (format "^[ ]*-[ ]+\\(?:State \"%s\".*%s%s\\)" >> (regexp-opt org-done-keywords) org-ts-regexp-inactive (let ((value >> (cdr ...))) (if (not value) "" (concat "\\|" (org-replace-escapes >> ... ...))))))) (if reversed nil (goto-char end)) (while (and (< >> count maxdays) (funcall search re limit t)) (setq closed-dates (cons >> (time-to-days (org-time-string-to-time (or >> (org-match-string-no-properties 1) (org-match-string-no-properties >> 2)))) closed-dates)) (setq count (1+ count)))) > > This change was introduced in e4da74c452f945274a8586be2803ed6b3a31b0bc, > which is in master brach, not maint. For some reason, it seems you are > using a version of "org-habit.el" that doesn't belong to Org 8.2.10. > Thanks for this Nicholas. I've just checked and the version of "org-habit.el" is dated 18th April, the same time and date as when I cloned the repo. I cloned using this command - ╭──── │git clone git://orgmode.org/org-mode.git ╰──── I've just done a git-check which shows - --8<---------------cut here---------------start------------->8--- [boudiccas:Mon Apr 20 13:51:49 @~/git/org-mode]$ [5050]>; git status On branch master Your branch is up-to-date with 'origin/master'. nothing to commit, working directory clean --8<---------------cut here---------------end--------------->8--- If I do "git describe" it then shows ╭──── │release_8.3beta-1051-g4ee8f4f ╰──── So I've done "git checkout maint" which then shows --8<---------------cut here---------------start------------->8--- Branch maint set up to track remote branch maint from origin. Switched to a new branch 'maint' --8<---------------cut here---------------end--------------->8--- So I did "make autoloads", closed emacs, restarted emacs, and the agenda now displays perfectly. So thanks, everything is now working well again. I've deliberately been a bit long-winded in my reply, so that other folk in the same problem can see what to do to get things working again. Thanks Sharon. -- A taste of linux = http://www.sharons.org.uk TGmeds = http://www.tgmeds.org.uk Debian testing, fluxbox 1.3.7, emacs 24.5.50.1