Am 14.12.2010 13:08, schrieb Christian Moe: > I get the same bug. > > Manually evaluating the following sexp at the very start of org.el fixes it: > > : (defvar org-inhibit-highlight-removal nil) > > But I can't see any reason why that line would not be evaluated at startup?? > > CM > > On 12/14/10 12:32 PM, Rainer Stengele wrote: >> Am 14.12.2010 11:29, schrieb Sébastien Vauban: >>> Hi, >>> >>> This seems new to me... >>> >>> #+begin_src emacs-lisp >>> Debugger entered--Lisp error: (void-variable org-inhibit-highlight-removal) >>> (if org-inhibit-highlight-removal nil (mapc (quote delete-overlay) >>> org-occur-highlights) (setq org-occur-highlights nil) (setq >>> org-occur-parameters nil) (unless noremove (remove-hook ... ... ...))) >>> (unless org-inhibit-highlight-removal (mapc (quote delete-overlay) >>> org-occur-highlights) (setq org-occur-highlights nil) (setq >>> org-occur-parameters nil) (unless noremove (remove-hook ... ... ...))) >>> org-remove-occur-highlights(nil nil t) >>> (if keep-previous nil (org-remove-occur-highlights nil nil t)) >>> (unless keep-previous (org-remove-occur-highlights nil nil t)) >>> org-occur("some-string" nil) >>> call-interactively(org-occur) >>> (cond ((equal ans 100) (call-interactively ...)) ((equal ans 98) >>> (call-interactively ...)) ((equal ans 97) (call-interactively ...)) ((equal >>> ans 116) (org-show-todo-tree nil)) ((equal ans 84) (org-show-todo-tree >>> ...)) ((member ans >>> ...) (call-interactively ...)) ((member ans ...) (setq kwd ...) (setq value >>> ...) (unless ... ...) (org-match-sparse-tree arg ...)) ((member ans ...) >>> (call-interactively ...)) (t (error "No such sparse tree command \"%c\"" >>> ans))) >>> (let (ans kwd value) (message "Sparse tree: [r]egexp [/]regexp [t]odo >>> [T]odo-kwd [m]atch [p]roperty\n [d]eadlines [b]efore-date >>> [a]fter-date") (setq ans (read-char-exclusive)) (cond (... ...) (... ...) >>> (... ...) (... ...) >>> (... ...) (... ...) (... ... ... ... ...) (... ...) (t ...))) >>> org-sparse-tree(nil) >>> call-interactively(org-sparse-tree nil nil) >>> #+end_src >>> >>> My Org-mode version: 7.4 (release_7.4.24.g48b11) >>> >>> Best regards, >>> Seb >>> >> >> Hi, >> >> this seems similar: >> >> trying to open a link with<C-c C-o> gives this error: >> >> org-open-at-point: Symbol's value as variable is void: >> org-inhibit-highlight-removal >> >> - Rainer >> >> >> _______________________________________________
(setq org-inhibit-highlight-removal t) also fixes it. - Rainer _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode