emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rainer Stengele <rainer.stengele@diplan.de>
To: mail@christianmoe.com
Cc: emacs-orgmode@gnu.org, public-emacs-orgmode-mXXj517/zsQ@lo.gmane.org
Subject: Re: Lisp error: (void-variable org-inhibit-highlight-removal) with `C-c / /'
Date: Tue, 14 Dec 2010 13:23:13 +0100	[thread overview]
Message-ID: <4D0761B1.3090605@diplan.de> (raw)
In-Reply-To: <4D075E23.9060705@christianmoe.com>

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

  reply	other threads:[~2010-12-14 12:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2010-12-14 12:33       ` Matt Lundin
2010-12-14 11:40 ` Matt Lundin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D0761B1.3090605@diplan.de \
    --to=rainer.stengele@diplan.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@christianmoe.com \
    --cc=public-emacs-orgmode-mXXj517/zsQ@lo.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).