emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [NEW] navi-mode for org files


From: Charles Berry
Subject: Re: [O] [NEW] navi-mode for org files
Date: Mon, 8 Apr 2013 21:41:58 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Thorsten Jolitz <tjolitz <at> gmail.com> writes:

> 
> Charles Berry <ccberry <at> ucsd.edu> writes:
> 
> > Thorsten Jolitz <tjolitz <at> gmail.com> writes:
> 

[deleted]


`------------------------------------------------------------------------
> >
> > I cannot seem to get this to work. If I try to execute
> >
> > ;; # #+begin_src emacs-lisp
> > ;; #  (require 'outshine)
> > ;; #  (add-hook ‘outline-minor-mode-hook ‘outshine-hook-function)
> > ;; # #+end_src
> >
> > the add-hook returns 
> >
> > Debugger entered--Lisp error: (void-variable ‘outline-minor-mode-hook)
> >
> >
> > I am running 
> >
> > Org-mode version 8.0-pre (release_8.0-pre-276-g3d3465  <at>  ...
> > GNU Emacs 24.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of
> >  2013-03-12 on bob.porkrind.org
> 
> Looks as if outshine is loaded before outline? But since outshine
> requires outline, 'outline-minor-mode-hook' should be loaded when the
> hook function is added. 
> It works here, I'm running:
> 
> ,----------------------------------------------------------------
> | GNU Emacs Version:
> | (24.3.1 24 3 gnu/linux hostname x86_64-unknown-linux-gnu x nil)
> | Org-mode version 8.0-pre (release_8.0-pre-199-g2746c7  <at>  ...
> `----------------------------------------------------------------
> 
> could you try 'M-x toggle-debug-on-error', execute the above, and send
> the backtrace?
> 

This is what I get:


Debugger entered--Lisp error: (void-variable ‘outline-minor-mode-hook)
  (add-hook ‘outline-minor-mode-hook ‘outshine-hook-function)
  eval((add-hook ‘outline-minor-mode-hook ‘outshine-hook-function) nil)
  eval-last-sexp-1(nil)
  eval-last-sexp(nil)
  call-interactively(eval-last-sexp nil nil)


FWIW, C-h v outline- TAB gives:


Click <mouse-2> on a completion to select it.
In this buffer, type RET to select the completion near point.

Possible completions are:
outline-blank-line                     outline-cycle-emulate-tab
outline-font-lock-faces                outline-font-lock-keywords
outline-heading-alist                  outline-heading-end-regexp
outline-isearch-open-invisible-function         outline-level
outline-minor-mode                     outline-minor-mode-map
outline-minor-mode-menu-bar-map        outline-minor-mode-prefix
outline-mode-abbrev-table              outline-mode-hook
outline-mode-map                       outline-mode-menu-bar-map
outline-mode-prefix-map                outline-mode-syntax-table
outline-promotion-headings             outline-regexp
outline-structedit-modifiers           outline-view-change-hook



HTH,






reply via email to

[Prev in Thread] Current Thread [Next in Thread]