[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Lisp error: (void-variable org-inhibit-highlight-removal)
From: |
Rainer Stengele |
Subject: |
[Orgmode] Re: Lisp error: (void-variable org-inhibit-highlight-removal) with `C-c / /' |
Date: |
Tue, 14 Dec 2010 13:23:13 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.17) Gecko/20080914 Lightning/0.8 Thunderbird/2.0.0.17 Mnenhy/0.7.5.666 |
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