From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: Lisp error: (void-variable org-inhibit-highlight-removal) with `C-c / /' Date: Tue, 14 Dec 2010 06:40:41 -0500 Message-ID: <87k4jc37ly.fsf@fastmail.fm> References: <80k4jcabq8.fsf@missioncriticalit.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=41288 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSTFd-0008Uf-WC for emacs-orgmode@gnu.org; Tue, 14 Dec 2010 06:41:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PSTFb-0002Pc-Ut for emacs-orgmode@gnu.org; Tue, 14 Dec 2010 06:41:01 -0500 Received: from plane.gmane.org ([80.91.229.3]:41519) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PSTFb-0002P3-N3 for emacs-orgmode@gnu.org; Tue, 14 Dec 2010 06:40:59 -0500 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1PSTFT-0005BB-V9 for emacs-orgmode@gnu.org; Tue, 14 Dec 2010 12:40:51 +0100 In-Reply-To: <80k4jcabq8.fsf@missioncriticalit.com> (=?utf-8?Q?=22S=C3=A9b?= =?utf-8?Q?astien?= Vauban"'s message of "Tue, 14 Dec 2010 11:29:51 +0100") 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: =?utf-8?Q?S=C3=A9bastien?= Vauban Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org, Carsten Dominik Hi S=C3=A9bastien, S=C3=A9bastien Vauban writes: > This seems new to me... > > #+begin_src emacs-lisp > Debugger entered--Lisp error: (void-variable org-inhibit-highlight-remova= l) > (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