From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer Stengele Subject: Re: Lisp error: (void-variable org-inhibit-highlight-removal) with `C-c / /' Date: Tue, 14 Dec 2010 13:23:13 +0100 Message-ID: <4D0761B1.3090605@diplan.de> References: <80k4jcabq8.fsf@missioncriticalit.com> <4D0755E2.9030806@diplan.de> <4D075E23.9060705@christianmoe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=55767 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSTuk-0003JA-DZ for emacs-orgmode@gnu.org; Tue, 14 Dec 2010 07:23:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PSTuj-0007Hg-Co for emacs-orgmode@gnu.org; Tue, 14 Dec 2010 07:23:30 -0500 Received: from ns.diplan.de ([212.34.188.4]:47182 helo=mail.diplan.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PSTuj-00079J-1b for emacs-orgmode@gnu.org; Tue, 14 Dec 2010 07:23:29 -0500 In-Reply-To: <4D075E23.9060705@christianmoe.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: mail@christianmoe.com Cc: emacs-orgmode@gnu.org, public-emacs-orgmode-mXXj517/zsQ@lo.gmane.org Am 14.12.2010 13:08, schrieb Christian Moe: > I get the same bug. >=20 > Manually evaluating the following sexp at the very start of org.el fixe= s it: >=20 > : (defvar org-inhibit-highlight-removal nil) >=20 > But I can't see any reason why that line would not be evaluated at star= tup?? >=20 > CM >=20 > On 12/14/10 12:32 PM, Rainer Stengele wrote: >> Am 14.12.2010 11:29, schrieb S=C3=A9bastien Vauban: >>> Hi, >>> >>> This seems new to me... >>> >>> #+begin_src emacs-lisp >>> Debugger entered--Lisp error: (void-variable org-inhibit-highlight-re= moval) >>> (if org-inhibit-highlight-removal nil (mapc (quote delete-overlay)= org-occur-highlights) (setq org-occur-highlights nil) (setq org-occur-pa= rameters 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-pa= rameters 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 ...)) ((equa= l 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 an= s ...) (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 gives this error: >> >> org-open-at-point: Symbol's value as variable is void: org-inhibit-hig= hlight-removal >> >> - Rainer >> >> >> _______________________________________________ (setq org-inhibit-highlight-removal t) also fixes it. - Rainer