From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: Re: Lisp error: (void-variable org-inhibit-highlight-removal) with `C-c / /' Date: Tue, 14 Dec 2010 13:08:03 +0100 Message-ID: <4D075E23.9060705@christianmoe.com> References: <80k4jcabq8.fsf@missioncriticalit.com> <4D0755E2.9030806@diplan.de> Reply-To: mail@christianmoe.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=43640 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSTe4-0006o0-BQ for emacs-orgmode@gnu.org; Tue, 14 Dec 2010 07:06:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PSTe2-00020C-SO for emacs-orgmode@gnu.org; Tue, 14 Dec 2010 07:06:16 -0500 Received: from mars.hitrost.net ([91.185.211.18]:19614) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PSTe2-0001qT-Ia for emacs-orgmode@gnu.org; Tue, 14 Dec 2010 07:06:14 -0500 In-Reply-To: <4D0755E2.9030806@diplan.de> 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: Rainer Stengele Cc: emacs-orgmode@gnu.org, public-emacs-orgmode-mXXj517/zsQ@lo.gmane.org 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 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 >