emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Lisp error: (void-variable org-inhibit-highlight-removal) with `C-c / /'
@ 2010-12-14 10:29 Sébastien Vauban
  2010-12-14 11:32 ` Rainer Stengele
  2010-12-14 11:40 ` Matt Lundin
  0 siblings, 2 replies; 6+ messages in thread
From: Sébastien Vauban @ 2010-12-14 10:29 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

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

-- 
Sébastien Vauban


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Lisp error: (void-variable org-inhibit-highlight-removal) with `C-c / /'
  2010-12-14 10:29 Lisp error: (void-variable org-inhibit-highlight-removal) with `C-c / /' Sébastien Vauban
@ 2010-12-14 11:32 ` Rainer Stengele
  2010-12-14 12:08   ` Christian Moe
  2010-12-14 11:40 ` Matt Lundin
  1 sibling, 1 reply; 6+ messages in thread
From: Rainer Stengele @ 2010-12-14 11:32 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: public-emacs-orgmode-mXXj517/zsQ

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

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

* Re: Lisp error: (void-variable org-inhibit-highlight-removal) with `C-c / /'
  2010-12-14 10:29 Lisp error: (void-variable org-inhibit-highlight-removal) with `C-c / /' Sébastien Vauban
  2010-12-14 11:32 ` Rainer Stengele
@ 2010-12-14 11:40 ` Matt Lundin
  1 sibling, 0 replies; 6+ messages in thread
From: Matt Lundin @ 2010-12-14 11:40 UTC (permalink / raw)
  To: Sébastien Vauban; +Cc: public-emacs-orgmode-mXXj517/zsQ, Carsten Dominik



Hi Sébastien,

Sébastien Vauban <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
writes:

> 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

My patch above fixes this:

http://permalink.gmane.org/gmane.emacs.orgmode/35046

I'm afraid an earlier patch of mine introduced a stray apostrophe. I
apologize to all who encounter this error.

Best,
Matt

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

* Re: Re: Lisp error: (void-variable org-inhibit-highlight-removal) with `C-c / /'
  2010-12-14 11:32 ` Rainer Stengele
@ 2010-12-14 12:08   ` Christian Moe
  2010-12-14 12:23     ` Rainer Stengele
  0 siblings, 1 reply; 6+ messages in thread
From: Christian Moe @ 2010-12-14 12:08 UTC (permalink / raw)
  To: Rainer Stengele; +Cc: emacs-orgmode, public-emacs-orgmode-mXXj517/zsQ

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
>
>
> _______________________________________________
> 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
>

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

* Re: Lisp error: (void-variable org-inhibit-highlight-removal) with `C-c / /'
  2010-12-14 12:08   ` Christian Moe
@ 2010-12-14 12:23     ` Rainer Stengele
  2010-12-14 12:33       ` Matt Lundin
  0 siblings, 1 reply; 6+ messages in thread
From: Rainer Stengele @ 2010-12-14 12:23 UTC (permalink / raw)
  To: mail; +Cc: emacs-orgmode, public-emacs-orgmode-mXXj517/zsQ

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

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

* Re: Lisp error: (void-variable org-inhibit-highlight-removal) with `C-c / /'
  2010-12-14 12:23     ` Rainer Stengele
@ 2010-12-14 12:33       ` Matt Lundin
  0 siblings, 0 replies; 6+ messages in thread
From: Matt Lundin @ 2010-12-14 12:33 UTC (permalink / raw)
  To: Rainer Stengele; +Cc: emacs-orgmode, mail

Hi Rainer,

Rainer Stengele <rainer.stengele@diplan.de> writes:

> 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??
>>>

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

I responded to Sébastien's post earlier, but I'm afraid my message may
have been stuck in Gmane's email obfuscation roundabout.

This error was introduced by a stray apostrophe in a previous patch. I
submitted a fix last night:

http://permalink.gmane.org/gmane.emacs.orgmode/35046

Until the fix is applied, the easiest solution is to go to the top of
org.el and manually remove the extra apostrophe at the beginning of the
file.

I apologize to all who are receiving this error. 

Best,
Matt

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

end of thread, other threads:[~2010-12-14 12:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-14 10:29 Lisp error: (void-variable org-inhibit-highlight-removal) with `C-c / /' Sébastien Vauban
2010-12-14 11:32 ` Rainer Stengele
2010-12-14 12:08   ` Christian Moe
2010-12-14 12:23     ` Rainer Stengele
2010-12-14 12:33       ` Matt Lundin
2010-12-14 11:40 ` Matt Lundin

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